CVE-2026-61627
libass: Out-of-bounds read and write in wrap_lines_measure
Reported by github_m · Published October 30, 2026
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| libass | libass | < 0.17.5 |
| libass | libass | 0 |
Timeline
- Oct 30, 2026 CVE Published
- Oct 30, 2026 CVE Updated
- Oct 31, 2026 EPSS Score (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-61627
vulnetix vdb fixes CVE-2026-61627
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-61627/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/libass/libass/security/advisories/GHSA-pjjp-65r7-ppgm x_refsource_CONFIRM
- https://github.com/libass/libass/commit/f2ef59755292bc4bb950ef22710e18a5487c399d x_refsource_MISC
- https://github.com/libass/libass/releases/tag/0.17.5 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2026/09/msg00004.html url