CVE-2026-61626 libass: Out-of-bounds bit clears for negative Matroska ReadOrder values
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
Description
libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. From 0.17.4 until 0.17.5, libass event pruning does not guard negative Matroska ReadOrder values, allowing an attacker to clear arbitrarily many bits to zero at attacker-controlled positions near the NULL pointer. Exploitation requires a malicious Matroska stream loaded through ass_process_chunk, enabled read-order checking, and later pruning of the malicious events. Read-order checking is enabled by default unless ass_set_check_readorder is called with zero; pruning must occur explicitly through ass_prune_events or through automatic pruning previously enabled with ass_configure_prune. On common systems with arithmetic right shift, 32-bit int values, the upper address region reserved to the kernel, and matching binary/kernel architecture, the expected consequence is denial of service. More extensive exploitation on uncommon systems is theoretical and strongly constrained by the target addresses, bit-clearing-only mutation, and ASLR. This issue is fixed in version 0.17.5.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libass(Debian 14) | < 1:0.17.5-1; = 1:0.17.3-1; = 1:0.17.4-1; = 1:0.17.4-2 | 1:0.17.5-1 | Fixed |
| ubuntu/libass(Ubuntu 26.04) | < 1:0.17.4-2ubuntu0.1~esm1 | 1:0.17.4-2ubuntu0.1~esm1 | Fixed |
| libass | = >= 0.17.4, < 0.17.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libass | = >= 0.17.4, < 0.17.5 | No fix listed |
| debian/libass(Debian:14) | < 1:0.17.5-1 | 1:0.17.5-1 |
| debian/libass(Debian:14) | = 1:0.17.3-1 | No fix listed |
| debian/libass(Debian:14) | = 1:0.17.4-1 | No fix listed |
| debian/libass(Debian:14) | = 1:0.17.4-2 | No fix listed |
| ubuntu/libass(Ubuntu:26.04) | < 1:0.17.4-2ubuntu0.1~esm1 | 1:0.17.4-2ubuntu0.1~esm1 |
References
- https://github.com/libass/libass/security/advisories/GHSA-5gf7-wjfm-vmvm
- https://github.com/libass/libass/commit/23da65a130bb8c5b2cf0c7df0dd7d424607f98f1
- https://github.com/libass/libass/releases/tag/0.17.5
- Debian Security Tracker CVE-2026-61626 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8815-1 vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-114006 third-party-advisory