CVE-2026-61627 libass: Out-of-bounds read and write in wrap_lines_measure
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux libass(Azure Linux 4.0) | < 0:0.17.5-8.azl4 | 0:0.17.5-8.azl4 | Fixed |
| debian/libass(Debian 12) | < 1:0.17.1-1+deb12u1; = 1:0.17.1-1 | 1:0.17.1-1+deb12u1 | Fixed |
| debian/libass(Debian 13) | < 1:0.17.3-1+deb13u1; = 1:0.17.3-1 | 1:0.17.3-1+deb13u1 | Fixed |
| debian/libass(Debian 14) | < 1:0.17.5-1; = 1:0.17.3-1; = 1:0.17.4-1; = 1:0.17.4-2 | 1:0.17.5-1 | Fixed |
| ubuntu/libass(Ubuntu 24.04) | < 1:0.17.1-2ubuntu0.1~esm1 | 1:0.17.1-2ubuntu0.1~esm1 | Fixed |
| ubuntu/libass(Ubuntu 26.04) | < 1:0.17.4-2ubuntu0.1~esm1 | 1:0.17.4-2ubuntu0.1~esm1 | Fixed |
| libass | = < 0.17.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libass | = < 0.17.5 | No fix listed |
| debian/libass(Debian:12) | < 1:0.17.1-1+deb12u1 | 1:0.17.1-1+deb12u1 |
| debian/libass(Debian:12) | = 1:0.17.1-1 | No fix listed |
| debian/libass(Debian:13) | < 1:0.17.3-1+deb13u1 | 1:0.17.3-1+deb13u1 |
| debian/libass(Debian:13) | = 1:0.17.3-1 | No fix listed |
| debian/libass(Debian:14) | < 1:0.17.5-1 | 1:0.17.5-1 |
| debian/libass(Debian:14) | = 1:0.17.3-1 | No fix listed |
| debian/libass(Debian:14) | = 1:0.17.4-1 | No fix listed |
| debian/libass(Debian:14) | = 1:0.17.4-2 | No fix listed |
| ubuntu/libass(Ubuntu:24.04) | < 1:0.17.1-2ubuntu0.1~esm1 | 1:0.17.1-2ubuntu0.1~esm1 |
| ubuntu/libass(Ubuntu:26.04) | < 1:0.17.4-2ubuntu0.1~esm1 | 1:0.17.4-2ubuntu0.1~esm1 |
| azure linux libass(Azure Linux:4.0) | < 0:0.17.5-8.azl4 | 0:0.17.5-8.azl4 |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2564117 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/libass/libass/commit/f2ef59755292bc4bb950ef22710e18a5487c399d
- https://github.com/libass/libass/releases/tag/0.17.5
- https://github.com/libass/libass/security/advisories/GHSA-pjjp-65r7-ppgm
- lists.debian.org
- Debian Security Tracker CVE-2026-61627 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8815-1 vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- ENISA EUVD EUVD-2026-114007 third-party-advisory