Bug 2564117 (CVE-2026-61627) - CVE-2026-61627 libass: libass: Arbitrary code execution via crafted subtitle files
Summary: CVE-2026-61627 libass: libass: Arbitrary code execution via crafted subtitle ...
Keywords:
Status: NEW
Alias: CVE-2026-61627
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2565474 2565475 2565477 2565479 2565481 2565483
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-30 15:07 UTC by OSIDB Bzimport
Modified: 2026-11-03 02:24 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-30 15:07:23 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.