CVE-2026-125211

FFmpeg through 9.0.2 Heap Corruption via libaribcaption ASS Error Cleanup

Published Nov 9, 2026 CVSS 4.0 · 7.3 High EPSS < 1% KEV · Not listed
Description
FFmpeg through 9.0.2 contains an out-of-bounds read and invalid free vulnerability in aribcaption_trans_ass_subtitle() in libavcodec/libaribcaption.c that frees subtitle rectangles using region_count instead of num_rects. Attackers can supply crafted ARIB captions whose later region exceeds the 8 KiB AVBPrint limit, triggering cleanup that frees out-of-bounds pointers and corrupts the heap.

Analysis

AI-generated

Technical impact

FFmpeg versions up to and including 9.0.2 implement a function that parses ARIB caption data. An error cleanup routine in aribcaption_trans_ass_subtitle() mistakenly releases memory for subtitle rectangles using a region counter that can exceed the bounds of the allocated array. This out‑of‑bounds free corrupts the heap, potentially affecting control data. The flaw arises when a crafted ARIB caption contains a region index that surpasses the 8 KiB AVBPrint limit, exposing the vulnerability whenever the cleanup runs.

Affected Systems

All installations of the FFmpeg multimedia framework with version 9.0.2 or earlier are affected. The vulnerability is limited to FFmpeg binaries that enable the libaribcaption module for subtitle processing.

Risk and Exploitability

The CVSS score of 7.3 indicates a high severity. While an EPSS score is not reported, the heap corruption could lead to serious failures or exploitation opportunities. The vulnerability is not listed in CISA’s KEV catalog. Attackers can trigger the flaw by supplying a malicious ARIB caption file to any software that uses the affected FFmpeg build. Successful exploitation could jeopardize the stability of the FFmpeg process and, depending on its privileges, could reveal or affect other system resources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a newer FFmpeg version that resolves the out‑of‑bounds free bug.
  • If upgrading immediately is not feasible, isolate the FFmpeg process in a restricted sandbox that limits its ability to modify system resources and privileges.
  • When ARIB caption support is not required, disable it in the FFmpeg build configuration to avoid the vulnerable code paths.

Generated by OpenCVE AI on November 9, 2026 at 23:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description FFmpeg through 9.0.2 contains an out-of-bounds read and invalid free vulnerability in aribcaption_trans_ass_subtitle() in libavcodec/libaribcaption.c that frees subtitle rectangles using region_count instead of num_rects. Attackers can supply crafted ARIB captions whose later region exceeds the 8 KiB AVBPrint limit, triggering cleanup that frees out-of-bounds pointers and corrupts the heap.
Title FFmpeg through 9.0.2 Heap Corruption via libaribcaption ASS Error Cleanup
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-125
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 10, 2026, 7:09 PM
Reserved
Nov 9, 2026, 6:15 PM
Status
Analyzed
Published
Nov 9, 2026, 7:16 PM
Modified
Nov 30, 2026, 3:55 PM