Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious Matroska stream with negative ReadOrder
-
DeliveryVictim opens file in libass-backed player
-
Exploitass_process_chunk loads events, bounds check skipped
-
ExecutionEvent pruning clears attacker-chosen bits near NULL pointer
-
ImpactDenial of service (theoretically memory corruption)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a specific API usage pattern in the consuming application, not merely network or local access: (1) the application must use the ass_process_chunk API to feed Matroska subtitle packets; (2) read-order checking must be enabled - it is on by default unless ass_set_check_readorder was called with a zero argument; (3) the victim must load an attacker-supplied malicious Matroska stream containing events with negative (or integer-overflowed) ReadOrder values; and (4) those events must subsequently be pruned, either explicitly via ass_prune_events or by an automatic prune run previously enabled via ass_configure_prune. Limiting factors: the attack is local and depends on the victim opening a crafted file (UI:P), requires the pruning feature to actually run, and - per the vendor - yields at worst denial of service on common configurations, with any higher-severity outcome constrained by restricted target addresses, limited mutation, and ASLR. |
| Impact | The CVSS 4.0 base score of 7.3 (High) is built on a local attack vector (AV:L) with high attack complexity (AC:H), passive user interaction (UI:P), no privileges required (PR:N) and high impact to confidentiality, integrity and availability (VC:H/VI:H/VA:H). These CIA:High values represent, in the vendor's own words, 'the worst conceivable case' - the GHSA advisory explicitly states that for the most common setups (arithmetic right shift, 32-bit int, top 256MiB of stack reserved for kernel, matching binary/kernel architecture) the flaw 'should not lead to anything worse than DOS,' and that leveraging it into code execution is 'expected to remain extremely challenging' due to restricted target addresses, limited mutation actions and ASLR. So there is a real tension between the scored impact and the realistic impact: treat the high VC/VI as a theoretical ceiling and denial of service as the practical outcome. No EPSS score was provided and the vulnerability is not listed in CISA KEV, so there is no probabilistic or confirmed-exploitation signal pushing urgency up; exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_week,' consistent with a patched, moderate-severity library flaw that is not under active exploitation. Net: this is a legitimate fix-promptly issue (local, user-interaction-gated, patch available) rather than an emergency; the high CVSS is driven by worst-case scoring that the advisory itself tempers toward DoS. |
| Exploit ScenarioDerived | An attacker crafts a malformed Matroska (MKV) file containing subtitle events with negative ReadOrder values and gets a victim to open it in an application that uses libass via the ass_process_chunk API. When those events are later pruned, the missing bounds check clears attacker-positioned bits in memory near the NULL pointer, most realistically crashing the application (denial of service) and only in theory escalating to memory corruption. No public exploit identified at time of analysis; the issue was originally reported as libass GitHub issue #937. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 30, 2026
Out-of-bounds bit clearing in libass 0.17.4 lets a crafted Matroska subtitle stream with negative ReadOrder values zero bits at attacker-influenced positions in the vicinity of the NULL pointer when a consuming application feeds packets through the ass_process_chunk API with read-order checking and event pruning both active. The 7.3 CVSS 4.0 score represents the maintainers' worst-conceivable-case reading; on common configurations (arithmetic right shift, 32-bit int, typical kernel/user stack split, matching architectures) the advisory states the realistic outcome is denial of service, with anything more severe constrained by restricted target addresses, limited mutation primitives and ASLR. The flaw is fixed in libass 0.17.5 via commit 23da65a130bb8c5b2cf0c7df0dd7d424607f98f1, and no public exploit identified at time of analysis.
Earlier versions of this analysis (1)
Out-of-bounds bit clear operations in a Matroska container format parser allow processing of maliciously crafted media files containing negative ReadOrder field values to corrupt memory. The vulnerability arises when a negative integer ReadOrder value is used without adequate sign checking, causing bit-clear write operations to target memory locations outside the intended buffer boundary. Affected deployments include software in the Ubuntu ecosystem that parses Matroska (.mkv/.webm) files; no public exploit has been identified at time of analysis and CISA KEV status is not confirmed.
RemediationAI
Upgrade to libass 0.17.5, the release that contains commit 23da65a130bb8c5b2cf0c7df0dd7d424607f98f1, whose early return for negative ReadOrder values removes the out-of-bounds bit clear; the advisory is at https://github.com/libass/libass/security/advisories/GHSA-5gf7-wjfm-vmvm and the release tag at https://github.com/libass/libass/releases/tag/0.17.5. Ubuntu users should apply USN-8815-1 (https://ubuntu.com/security/notices/USN-8815-1), which carries the distribution's fixed package; applications that statically bundle libass must rebuild against 0.17.5, because the vulnerable code lives in the linked library and not in the caller. Because the advisory ties exploitability to specific runtime conditions, API-level compensating controls exist but each has a cost: refraining from enabling automatic pruning via ass_configure_prune and from calling ass_prune_events on tracks built from untrusted input keeps malicious events from ever being pruned, at the expense of unbounded growth of the event list until the track is freed; alternatively, calling ass_set_check_readorder with a zero argument disables the bitmap logic entirely, at the cost of losing duplicate-event detection so malformed or adversarial streams may produce duplicated or out-of-order subtitle events. Neither control removes the underlying defect, so both should be treated as temporary measures until the 0.17.5 upgrade lands, which this assessment schedules for this week.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libass is a subtitle rendering library that consuming applications link against to parse and render ASS/SSA and Matroska-embedded subtitle streams. The affected routine, test_and_set_read_order_bit(), maintains a bitmap used for event de-duplication keyed on the Matroska ReadOrder field; when event pruning was introduced in commit dcc9eb722ebd485d2ed0e21c261b0a1b05497154, no lower-bound validation was added, so a negative (or integer-overflowed) ReadOrder from a malformed packet produced a negative bit index. Clearing such a bit writes outside the intended structure, landing near the NULL pointer at positions the attacker partially controls - a CWE-787 out-of-bounds write reached through a bit-clear primitive rather than a conventional buffer copy. The upstream fix simply returns early when id < 0, with a comment noting that a previously loaded packet with an invalid ReadOrder already caused duplicate checking to be skipped. Reaching the vulnerable path is conditional on the embedding application: it must pass Matroska packets through ass_process_chunk, keep read-order checking enabled (the default unless ass_set_check_readorder was called with a zero argument), and later prune events either explicitly through ass_prune_events or automatically via a prune schedule configured with ass_configure_prune. The assessed vector is CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - local access, high complexity, no privileges, user must open the crafted file - and the vendor explicitly states the high confidentiality/integrity/availability impact values describe the worst conceivable case rather than the expected outcome.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local crafted-file delivery (AV:L) requiring the victim to open it (UI:R); reaching memory-corruption impact beyond DoS is hard per the advisory (AC:H); no auth needed (PR:N); C/I/A:H reflect the worst conceivable case.
Primary rating from Vendor (vendor:ubuntu).
CVSS VectorVendor: vendor:ubuntu
Lifecycle Timeline
3DescriptionCVE.org
[GHSA-5gf7-wjfm-vmvm: Out-of-bounds bit clears for negative Matroska ReadOrder values]
Executive ViewAI
A high-severity flaw in libass, a subtitle rendering library widely integrated into media players and streaming platforms, could allow a specially crafted subtitle file to crash or degrade the viewing experience for end users. This directly affects customer-facing video services and internal media tools, but the realistic impact is limited to service disruption rather than data compromise. Leadership should prioritize patching to maintain service reliability and avoid potential reputational harm from repeated outages.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
EUVD-2026-114006
NVD
CVE.org
EPSS
GitHub
Exploit-DB