CVE-2026-61627

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.
CVSS

No CVSS.

Configurations

No configuration.

History

30 Oct 2026, 16:17

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2026/09/msg00004.html -

30 Oct 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-30 15:16

Updated : 2026-10-30 19:39


NVD link : CVE-2026-61627

Mitre link : CVE-2026-61627

CVE.ORG link : CVE-2026-61627


JSON object : View

Products Affected

No product.

CWE
CWE-125

Out-of-bounds Read

CWE-787

Out-of-bounds Write