{"id":"UBUNTU-CVE-2026-61627","details":"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.","modified":"2026-11-24T14:55:04.271069617Z","published":"2026-07-14T00:00:00Z","related":["USN-8815-1"],"upstream":["CVE-2026-61627"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-61627"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-61627"},{"type":"REPORT","url":"https://github.com/libass/libass/security/advisories/GHSA-pjjp-65r7-ppgm"},{"type":"REPORT","url":"https://github.com/libass/libass/commit/f2ef59755292bc4bb950ef22710e18a5487c399d"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8815-1"}],"affected":[{"package":{"name":"libass","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/libass?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.17.1-2ubuntu0.1~esm1"}]}],"versions":["1:0.17.1-1","1:0.17.1-2","1:0.17.1-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libass9","binary_version":"1:0.17.1-2ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61627.json"}},{"package":{"name":"libass","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/libass?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.17.4-2ubuntu0.1~esm1"}]}],"versions":["1:0.17.3-1","1:0.17.4-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libass9","binary_version":"1:0.17.4-2ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61627.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}