Every CVE Search/ Get API key

CVE-2026-61627

libass: Out-of-bounds read and write in wrap_lines_measure

7.3 HighFix available

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

0.15%Unchanged since Oct 31, 2026
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
libass
Debian:12
before 1:0.17.1-1+deb12u1, plus listed versions
1:0.17.1-1
1:0.17.1-1+deb12u1
libass
Debian:13
before 1:0.17.3-1+deb13u1, plus listed versions
1:0.17.3-1
1:0.17.3-1+deb13u1
libass
Debian: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
libass
openEuler:24.03-LTS-SP4
before 0.17.1-2.oe2403sp4
0.17.1-2.oe2403sp4
libass
openEuler:24.03-LTS-SP1
before 0.17.1-2.oe2403sp1
0.17.1-2.oe2403sp1
libass
openEuler:24.03-LTS-SP3
before 0.17.1-2.oe2403sp3
0.17.1-2.oe2403sp3
libass
Ubuntu: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
libass
Ubuntu: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
libass
Ubuntu: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
libass
Ubuntu: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
libass
Ubuntu: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
libass
Ubuntu: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
libass
Ubuntu: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

History
RecordedChangedSources
affectedOSV
factsOSV
first indexedCVE 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

Show 10 moreShow less
MoveEnter Open