Skip to main content
Vulnerability Database/CVE-2026-95127

CVE-2026-95127: libass v0.17.5 DOS Vulnerability

CVE-2026-95127 is a denial of service vulnerability in libass v0.17.5 affecting the ass_outline_construct function. Remote attackers can exploit this flaw to disrupt service availability. This article covers technical details, impact assessment, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-95127 Overview

CVE-2026-95127 is a denial-of-service vulnerability in libass version 0.17.5, an open-source subtitle rendering library widely used by media players and transcoding tools. The flaw resides in the ass_outline_construct() function in libass/ass_render.c. A remote attacker can trigger the condition by supplying a crafted subtitle stream, causing the rendering process to abort or become unresponsive.

Critical Impact

Remote attackers can crash any application that renders attacker-controlled ASS/SSA subtitles with libass 0.17.5, disrupting playback, streaming, and transcoding pipelines.

Affected Products

  • libass 0.17.5
  • Media players and frameworks that embed libass 0.17.5 (for example, mpv, VLC, FFmpeg builds linked against the affected version)
  • Server-side transcoding and streaming services that render ASS/SSA subtitles with the affected library

Discovery Timeline

Technical Details for CVE-2026-95127

Vulnerability Analysis

The defect is located in ass_outline_construct() within libass/ass_render.c, the routine responsible for assembling glyph outlines before rasterization. When processing a specially crafted subtitle event, the function reaches an unexpected state and terminates the rendering pipeline, producing a denial-of-service condition in the host application. The EPSS score for this issue is 0.26%, indicating low observed exploitation probability at publication.

Because libass runs in-process inside the consumer application, a crash in the rendering path propagates directly to the player, transcoder, or streaming worker. Services that process untrusted subtitle inputs at scale, such as media hosting platforms or user-contributed caption pipelines, are the most exposed.

Root Cause

The root cause is improper handling of malformed outline construction input in ass_outline_construct(). The upstream patch in Pull Request #955 adjusts the outline construction logic so that boundary conditions no longer lead to an unrecoverable state. The vulnerability aligns with the Denial of Service category and is triggered during normal subtitle rendering, without any authentication.

Attack Vector

An attacker crafts a malicious ASS or SSA subtitle file and delivers it through any channel the victim application consumes. Delivery vectors include downloaded media containers with embedded subtitles, remote subtitle fetching, and user-uploaded files processed by transcoding services. When the target renders the subtitle, ass_outline_construct() is invoked and the process crashes. A reproducer is referenced in the public GitHub Gist attached to the upstream issue.

No verified exploit code is distributed here. Technical details are available in the upstream libass Issue #947.

Detection Methods for CVE-2026-95127

Indicators of Compromise

  • Repeated unexpected termination of processes linked against libass.so.9 or libass.dll
  • Core dumps or crash reports referencing ass_outline_construct or ass_render.c
  • Spikes in failed subtitle rendering jobs or transcoding workers restarting in media processing clusters

Detection Strategies

  • Inventory running software to identify binaries linking libass 0.17.5 and flag versions prior to the merged fix in Pull Request #955
  • Correlate application crash telemetry with recent subtitle file ingestion events to isolate attacker-supplied inputs
  • Scan subtitle uploads with sandboxed rendering before promoting them into production playback paths

Monitoring Recommendations

  • Alert on abnormal exit codes or segmentation faults from media player and transcoder processes
  • Track subtitle ingestion volume per source and investigate sources that correlate with service restarts
  • Centralize crash telemetry and library version metadata to detect regressions after patching

How to Mitigate CVE-2026-95127

Immediate Actions Required

  • Identify every system running libass 0.17.5 and prioritize servers that render untrusted subtitles
  • Apply the upstream fix from libass Pull Request #955 or upgrade to a release that includes the merged commit
  • Rebuild and redeploy downstream applications (mpv, VLC, FFmpeg, and custom players) that statically link libass

Patch Information

The upstream fix is tracked in libass Pull Request #955 with the change set at commit d570c2f5ed55844ec9b77b085deb3cb8ef59cb4a. Linux distributions and media projects that package libass should be monitored for backported security updates. Users compiling from source should pull the master branch after the pull request is merged.

Workarounds

  • Disable automatic subtitle rendering for untrusted sources until the patch is deployed
  • Strip or sanitize ASS/SSA subtitle tracks from untrusted media containers before processing
  • Run subtitle rendering workers in isolated, auto-restarting sandboxes to contain crashes
bash
# Example: remove subtitle streams from an untrusted container with ffmpeg
ffmpeg -i untrusted_input.mkv -map 0 -map -0:s -c copy sanitized_output.mkv

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.