{"id":"CVE-2026-61627","aliases":["CVE-2026-61627"],"related":[],"kind":"vulnerability","state":"published","title":"libass: Out-of-bounds read and write in wrap_lines_measure","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-30T14:55:45.500Z","modified":"2026-10-30T19:39:14.897Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.3,"rating":"HIGH"}],"cwes":["CWE-125","CWE-787"],"affected":[{"ranges":[{"version":"< 0.17.5","status":"affected"}],"vendor":"libass","product":"libass","source":"cvelist"}],"references":[{"url":"https://github.com/libass/libass/security/advisories/GHSA-pjjp-65r7-ppgm","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/libass/libass/commit/f2ef59755292bc4bb950ef22710e18a5487c399d","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/libass/libass/releases/tag/0.17.5","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2026/09/msg00004.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-30T15:34:57.627Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-61627","url":"https://www.cve.org/CVERecord?id=CVE-2026-61627","licence":"CVE Terms of Use","modified":"2026-10-30T15:51:10.521Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-61627","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61627","licence":"Public domain","modified":"2026-10-30T19:39:14.897Z"}],"updatedAt":"2026-11-25T22:59:47.951Z","epss":{"score":0.00155,"percentile":0.04872,"date":"2026-12-01T12:00:22.000Z"}}