Skip to main content

libass CVE-2026-61627

| EUVDEUVD-2026-114007 HIGH
Out-of-bounds Read (CWE-125)
2026-07-14 vendor:ubuntu
7.3
CVSS 4.0 · Vendor: vendor:ubuntu
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious ASS subtitle file
  2. Exploit
    Victim loads subtitle via libass app
  3. Execution
    Overshoot glyph array in wrap_lines_measure
  4. Impact
    OOB read discloses uninitialised memory, OOB write corrupts glyph position

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to load attacker-controlled ASS subtitle content into libass (any delivery path), satisfying UI:P. The specific trigger per the advisory: the last line of an event must consist entirely of skippable characters yet not be trimmable early in parsing - this occurs in wrap modes other than mode two when a line ends with a '\n' sequence and otherwise consists entirely of that sequence or spaces, causing the while loops to overshoot the glyph array by one entry. The more impactful out-of-bounds read-then-write variant additionally requires that the total text size exactly match the currently allocated size of the glyph array. Limiting factors that reduce realistic risk: the narrow parsing precondition (high complexity), the dependence on non-default wrap modes, the fact that the overread value is written back as a glyph pos.x (zeroed) and pos.y (controllable offset) rather than arbitrary memory, and ASLR plus restricted target addresses, which the vendor states make escalation beyond DoS/info-disclosure extremely challenging.

Impact

This is a moderate-priority, not emergency, issue. The CVSS 4.0 base score is 7.3 (High) with vector AV:L/AC:H/AT:N/PR:N/UI:P, meaning a local attack vector, high attack complexity, no privileges, but passive user interaction required - the victim must load attacker-supplied subtitle content. Several real-world-risk signals point downward: the vendor (libass) explicitly states they are not aware of any actual exploit beyond possible DoS, and notes that leveraging the out-of-bounds write into a more severe outcome is 'expected to be extremely challenging' because the target addresses are restricted, the mutation is limited (zeroing one 32-bit value and adding a controllable offset to a glyph pos.y), and ASLR further constrains exploitation - code execution is 'in theory conceivable' only. The vuln.today priority is 'this_week' (not act_now/emergency). No CISA KEV listing is present and no EPSS score was supplied, so widespread or automated exploitation is not indicated. The AC:H rating is justified by the evidence: the bug fires only under a narrow parsing condition (see exploitation_conditions), and the memory-disclosure/corruption variant additionally requires that total text size exactly match the current glyph-array allocation. Net: a genuine memory-safety defect worth patching promptly given libass's wide embedding in media players, but current evidence frames impact as primarily information disclosure of uninitialised memory plus limited, hard-to-weaponise corruption, not an actively exploited critical. EPSS and KEV data are absent rather than conflicting; verify EPSS before deprioritising broadly.

Exploit ScenarioDerived

An attacker crafts a malicious ASS subtitle file whose final event line consists entirely of skippable characters (spaces or a trailing '\n' sequence) and sizes the text so the glyph array is exactly full. When a victim opens or plays media that loads this subtitle through libass (e.g., in a media player), wrap_lines_measure reads past the end of the glyph array and then writes two controllable-offset values to the overread position. A PoC for the out-of-bounds read was reported to the vendor by Ada Logics (David Korczynski), but no working weaponised exploit has been published; realistic impact today is uninitialised-memory disclosure and possible denial of service.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 30, 2026

Out-of-bounds read and write in libass 0.17.4 and earlier is triggered when a victim loads crafted ASS subtitle content that reaches the wrap_lines_measure parsing path, potentially causing denial of service and limited memory corruption. The issue is moderate-priority and not an emergency: exploitation requires user interaction, a narrow parsing precondition, and generally non-default wrap modes, and the vendor reports no actual exploit beyond possible DoS. A PoC reference for the second out-of-bounds read was reported; no confirmed active exploitation is reported, and the vendor assesses escalation beyond DoS or information disclosure as extremely challenging.

Earlier versions of this analysis (1)
v1 Jul 16, 2026 - 09:30

Out-of-bounds read and write conditions exist in the wrap_lines_measure function, as tracked under GHSA-pjjp-65r7-ppgm and reported by Ubuntu. Memory corruption of this class - simultaneous OOB read and write - typically enables attackers to leak sensitive memory contents and corrupt heap or stack state, potentially leading to arbitrary code execution or process crash depending on exploitability conditions. No CVSS vector, EPSS score, KEV status, or POC availability data was supplied, so severity and real-world risk cannot be quantified with confidence at this time.

RemediationAI

Vendor-released patch: 0.17.5. Upgrade libass to 0.17.5 or later, which contains the fix commit f2ef59755292bc4bb950ef22710e18a5487c399d; Ubuntu users should apply the updated packages from USN-8815-1 at https://ubuntu.com/security/notices/USN-8815-1. The supplied sources document no configuration-only workaround: because the trigger is loading malicious ASS content, restricting untrusted subtitle input reduces exposure until an update can be deployed, but updating to 0.17.5 or the distribution-provided fixed package is the complete remediation. Additional references are the GHSA advisory at https://github.com/libass/libass/security/advisories/GHSA-pjjp-65r7-ppgm and the release at https://github.com/libass/libass/releases/tag/0.17.5.

Affected VersionsENISA

libass < 0.17.5

Affected Packages

euvd libass fix: 0.17.5

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 used to parse and render ASS/SSA subtitles. The flaw is in wrap_lines_measure in libass/ass_render.c and is classified CWE-125 (out-of-bounds read), although the advisory also describes an out-of-bounds write condition. The trigger is not a generic parser crash: the last line of an event must consist entirely of skippable characters yet not be trimmable early in parsing, which can occur in wrap modes other than mode two when a line ends with a newline sequence and otherwise consists entirely of that sequence or spaces; the while loops then overshoot the glyph array by one entry. The more impactful read-then-write variant additionally requires the total text size to exactly match the currently allocated size of the glyph array. The first loop reads a 32-bit fixed-point pos.x value from uninitialized memory, and the second loop writes pos.x and pos.y to that overread position, resulting in a zeroed first value and an easily controllable offset in the second; the supplied diff adds an early return when i equals text_info->length and changes the loop bound to text_info->length - 1. The CVSS vector marks PR:N, so no privileges are required, but the victim must load the malicious ASS content. Restricted target addresses, limited mutation actions, and ASLR make leveraging this into a more severe exploit extremely challenging according to the vendor.

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

Vendor (vendor:ubuntu) PRIMARY 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
vuln.today AI 7.0 HIGH

Local processing of a malicious subtitle file (AV:L) with victim load (UI:R); the narrow glyph-array overshoot and exact-allocation precondition make it AC:H; no auth needed (PR:N); impacts align with vendor H ratings.

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.8 HIGH

Primary rating from Vendor (vendor:ubuntu).

CVSS VectorVendor: vendor:ubuntu

Attack Vector
Local
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Analysis Updated
Oct 30, 2026 - 15:36 vuln.today
v2 - CVSS changed
CVSS changed
Oct 30, 2026 - 15:22 NVD
7.3 (HIGH)

DescriptionCVE.org

[GHSA-pjjp-65r7-ppgm: Out-of-bounds read and write in wrap_lines_measure]

Executive ViewAI

Why It Matters

CVE-2026-61627 in libass (a widely used subtitle rendering library) poses a high-risk memory corruption issue that can be triggered when a user loads a malicious subtitle file, leading to potential denial of service and limited memory corruption. The impact is broad because libass is embedded in many media players and streaming applications, meaning any product using it is exposed. Leadership should prioritize patching because a readily available PoC reference and the ease of tricking users into loading crafted subtitles raises the risk of service disruption and potential data leakage.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
High
core subtitle-rendering library embedded in most media players (VLC, mpv, ffmpeg)
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy