CVE-2026-61627 Details
Description
libass is a portable subtitle renderer for the `ASS`/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. Prior to 0.17.5, libass can overread and overwrite the glyph array in `wrap_lines_measure` while rendering malicious `ASS` content. In `wrap modes other than two`, a final line ending with a literal backslash-n sequence and otherwise consisting only of such sequences or spaces can remain after early trimming and make the line-measurement loops overshoot by one glyph. When the total text size exactly matches the allocated glyph-array capacity, the first loop reads an uninitialized 32-bit fixed-point `pos.x` value, although that value is not subsequently used. The second loop writes `pos.x` and `pos.y` beyond the array, zeroing the first and adding an attacker-controllable offset to the second. No actual exploitation beyond possible denial of service is known; broader exploitation is theoretical and constrained by the addresses, limited writes, and ASLR. This issue is fixed in version 0.17.5.
A vulnerability in libass, a subtitle rendering library for the ASS/SSA format, allows for out-of-bounds read and write operations in the wrap_lines_measure function. This issue affects versions through 0.17.4. The vulnerability arises when the last line of an event contains only skippable characters, such as spaces or newline sequences, which can lead to an overshoot in the glyph array during the line-measurement process. If the total text size matches the glyph array's allocated capacity, the first measurement loop reads an uninitialized value from memory. The second loop then writes controlled offsets beyond the array's bounds, potentially leading to exploitation. While this could be used for a denial-of-service attack, such a scenario is currently theoretical and constrained by memory address limitations and address space layout randomization (ASLR) techniques.
Users can upgrade to libass version 0.17.5, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 30, 2026CISA-ADP
Assessed Oct 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2026/09/msg00004.html | CVE | AdvisoryMailing ListRemedy |
| https://github.com/libass/libass/commit/f2ef59755292bc4bb950ef22710e18a5487c399d | [email protected] | Source CodeVendor |
| https://github.com/libass/libass/releases/tag/0.17.5 | [email protected] | Release NotesVendor |
| https://github.com/libass/libass/security/advisories/GHSA-pjjp-65r7-ppgm | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libass | <= 0.17.4 (semver) |
CPE
Remediation
| |
| Debian | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 30, 2026 | CVE Modified | CISA-ADP |
| Oct 30, 2026 | CVE Modified | CVE |
| Oct 30, 2026 | New CVE Received | [email protected] |
Volerion