CVEfocus › CVE database › CVE-2026-61627

CVE-2026-61627libass: Out-of-bounds read and write in wrap_lines_measure

CVSS 7.3 HighEPSS 0.2% (higher than 3% of CVEs)Published 2026-10-30Updated 2026-10-30Assigner: GitHub_M

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.

CWE-125CWE-787

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
2Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libassFix pending1:0.17.4-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-61627
Ubuntu 24.04libassFix pending1:0.17.1-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-61627
Ubuntu 22.04libassNot affected
vulnerable_code_not_present
Debian 14libassFixed1:0.17.5-1DEBIAN-CVE-2026-61627
Debian 13libassFixed1:0.17.3-1+deb13u1DEBIAN-CVE-2026-61627
Debian 12libassFixed1:0.17.1-1+deb12u1DEBIAN-CVE-2026-61627

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.