Technical impact
The vulnerability is an out-of-bounds read followed by a buffer overflow that occurs in the libass subtitle renderer’s wrap_lines_measure function when it processes malicious ASS files. Prior to version 0.17.5, a subtitle containing a line that ends with a backslash‑n sequence—consisting mainly of such sequences or spaces—caused the library’s measurement loops to overrun the glyph array by one element. The first loop reads an uninitialized 32‑bit fixed‑point value, while the second loop writes past the end of the array, zeroing the first glyph and inserting an attacker‑controlled offset into the second. No confirmed exploitation beyond a denial of service has been observed, but the memory corruption could, in theory, lead to crashes, memory corruption, or privilege escalation if mitigations such as ASLR were bypassed.
Affected Systems
Affected consumers of the libass library include any application that renders Advanced Substation Alpha subtitles, such as media players, video editors, and streaming services. The defect is present in all libass releases before 0.17.5. The vulnerable component is the libass subtitle renderer, as identified by the CNA as libass:libass.
Risk and Exploitability
The CVSS score of 7.3 indicates a high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The flaw can be triggered by supplying a crafted ASS file to any application that renders subtitles using libass. An attacker could cause a crash or memory corruption, leading to a denial of service. No widespread exploitation is known at present, and mitigation hinges on applying the vendor fix or limiting the processing of untrusted subtitle files.
Debian DLA