CVE-2026-61627
libass: Out-of-bounds read and write in wrap_lines_measure
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- Passive
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.3
libass: Out-of-bounds read and write in wrap_lines_measure
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.
- Record
CVE-2026-61627- CVSS 4.0
- 7.3 High
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 - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-02
EUVDEUVD-2026-114007
7.3
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.
- Record
EUVD-2026-114007- CVSS 4.0
- 7.3 High
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 - Updated
- 2026-11-02
NVD
7.3
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.
- Record
CVE-2026-61627- CVSS 4.0
- 7.3 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-02
OSV
7.3
libass: Out-of-bounds read and write in wrap_lines_measure
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.
- Record
CVE-2026-61627- CVSS 4.0
- 7.3 High
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 - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-61627
7.3
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.
- Record
DEBIAN-CVE-2026-61627- CVSS 4.0
- 7.3 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVOESA-2026-3199
7.3
libass security update
libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter.
Security Fix(es):
The vulnerability details have not been publicly disclosed yet.(CVE-2026-61627)
- Record
OESA-2026-3199- CVSS 4.0
- 7.3 High
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 - Updated
- 2026-11-02
Show 4 moreShow less
OSVOESA-2026-3200
7.3
libass security update
libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter.
Security Fix(es):
The vulnerability details have not been publicly disclosed yet.(CVE-2026-61627)
- Record
OESA-2026-3200- CVSS 4.0
- 7.3 High
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 - Updated
- 2026-11-02
OSVOESA-2026-3201
7.3
libass security update
libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter.
Security Fix(es):
The vulnerability details have not been publicly disclosed yet.(CVE-2026-61627)
- Record
OESA-2026-3201- CVSS 4.0
- 7.3 High
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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-61627
7.3
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.
- Record
UBUNTU-CVE-2026-61627- CVSS 4.0
- 7.3 High
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 - Updated
- 2026-11-05
OSVUSN-8815-1 No score
libass vulnerabilities
It was discovered that libass incorrectly handled parsing operations for specific nested character strings. An attacker could use this issue to cause libass to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-24994)
It was discovered that libass incorrectly handled certain outline processing operations. An attacker could use this issue to cause libass to crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-26682)
It was discovered that libass incorrectly handled certain ASS subtitle files when measuring wrapped lines. An attacker could use this issue to cause libass to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-61627)
It was discovered that libass incorrectly handled certain Matroska subtitle chunks with negative ReadOrder values. An attacker could use this issue to cause libass to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-61626)
- Record
USN-8815-1- Updated
- 2026-11-03
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libassDebian:12 |
before 1:0.17.1-1+deb12u1, plus listed versions 1:0.17.1-1 |
1:0.17.1-1+deb12u1 |
libassDebian:13 |
before 1:0.17.3-1+deb13u1, plus listed versions 1:0.17.3-1 |
1:0.17.3-1+deb13u1 |
libassDebian:14 |
before 1:0.17.5-1, plus listed versions 1:0.17.3-11:0.17.4-11:0.17.4-2 |
1:0.17.5-1 |
libassopenEuler:24.03-LTS-SP4 |
before 0.17.1-2.oe2403sp4 | 0.17.1-2.oe2403sp4 |
libassopenEuler:24.03-LTS-SP1 |
before 0.17.1-2.oe2403sp1 | 0.17.1-2.oe2403sp1 |
libassopenEuler:24.03-LTS-SP3 |
before 0.17.1-2.oe2403sp3 | 0.17.1-2.oe2403sp3 |
libassUbuntu:Pro:24.04:LTS |
before 1:0.17.1-2ubuntu0.1~esm1, plus listed versions 1:0.17.1-11:0.17.1-21:0.17.1-2build1 |
1:0.17.1-2ubuntu0.1~esm1 |
libassUbuntu:Pro:26.04:LTS |
before 1:0.17.4-2ubuntu0.1~esm1, plus listed versions 1:0.17.3-11:0.17.4-2 |
1:0.17.4-2ubuntu0.1~esm1 |
libassUbuntu:Pro:14.04:LTS From an advisory covering 4 CVEs |
before 0.10.1-3ubuntu1+esm2, plus listed versions 0.10.1-1ubuntu10.10.1-30.10.1-3ubuntu10.10.1-3ubuntu1+esm1 |
0.10.1-3ubuntu1+esm2 |
libassUbuntu:Pro:18.04:LTS From an advisory covering 4 CVEs |
before 1:0.14.0-1ubuntu0.1~esm1, plus listed versions 1:0.13.7-21:0.14.0-1 |
1:0.14.0-1ubuntu0.1~esm1 |
libassUbuntu:Pro:20.04:LTS From an advisory covering 4 CVEs |
before 1:0.14.0-2ubuntu0.1~esm1, plus listed versions 1:0.14.0-2 |
1:0.14.0-2ubuntu0.1~esm1 |
libassUbuntu:Pro:24.04:LTS From an advisory covering 4 CVEs |
before 1:0.17.1-2ubuntu0.1~esm1, plus listed versions 1:0.17.1-11:0.17.1-21:0.17.1-2build1 |
1:0.17.1-2ubuntu0.1~esm1 |
libassUbuntu:Pro:26.04:LTS From an advisory covering 4 CVEs |
before 1:0.17.4-2ubuntu0.1~esm1, plus listed versions 1:0.17.3-11:0.17.4-2 |
1:0.17.4-2ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | OSV | |
| facts | OSV | |
| first indexed | CVE List, EUVD, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-61627 is a high vulnerability (CVSS 7.3) in Libass, published July 14, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.15%, the 4th percentile. Fixed in libass 1:0.17.1-1+deb12u1.
References
github.com/libass/libass/security/advisories/GHSA-pjjp-65r7-ppgm
github.com/libass/libass/commit/f2ef59755292bc4bb950ef22710e18a5487c399d
github.com/libass/libass/releases/tag/0.17.5
lists.debian.org/debian-lts-announce/2026/09/msg00004.html
github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61627.json
nvd.nist.gov/vuln/detail/CVE-2026-61627
Show 10 moreShow less
security-tracker.debian.org/tracker/CVE-2026-61627
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3199
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3200
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3201
ubuntu.com/security/CVE-2026-61627
cve.org/CVERecord?id=CVE-2026-61627
ubuntu.com/security/notices/USN-8815-1
ubuntu.com/security/CVE-2020-24994
ubuntu.com/security/CVE-2020-26682
ubuntu.com/security/CVE-2026-61626