GHSA-pjjp-65r7-ppgm: libass: Out-of-bounds read and write in wrap_lines_measure

Published Oct 30, 2026
·
Updated

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

Event History

Oct 30, 2026
CVE Published
via OSV·02:55 PM
Data Sourced
via OSV·02:55 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required to trigger the out-of-bounds access?

An attacker must cause libass to render malicious ASS content using a wrap mode other than two. The affected final line must end in a literal backslash-n sequence and otherwise contain only literal backslash-n sequences or spaces, with total text size exactly matching the allocated glyph-array capacity.

2

What impact has been demonstrated?

No exploitation beyond a possible denial of service is known. Broader exploitation is theoretical and constrained by the relevant addresses, the limited writes, and ASLR.

3

Which versions are affected and what remediation is available?

Versions prior to 0.17.5 are affected. Upgrade to libass 0.17.5, which fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203