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.
Published: 2026-11-09
Score: 7.3 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution via Heap Corruption
Action: Immediate Patch
AI Analysis

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 allowing an attacker to corrupt control data and execute arbitrary code. 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, and while an EPSS score is not reported, the presence of a heap corruption that can lead to code execution suggests a non‑negligible risk. The vulnerability is not listed in CISA’s KEV catalog. An attacker can trigger the flaw by supplying a malicious ARIB caption file to any software that uses the affected FFmpeg build, making the attack vector local or remote depending on how the file is processed. Successful exploitation could lead to full system compromise of the host running the FFmpeg process.

Generated by OpenCVE AI on November 9, 2026 at 21:08 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to FFmpeg version 9.0.3 or later, which replaces the faulty cleanup logic with a bounds‑checked release function.
  • 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 the feature is not required, disable ARIB caption support in the FFmpeg build configuration to prevent the vulnerable code paths from executing.

Generated by OpenCVE AI on November 9, 2026 at 21:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 19:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T19:11:28.113Z

Reserved: 2026-11-09T18:15:16.026Z

Link: CVE-2026-125211

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T19:16:57.947

Modified: 2026-11-09T19:16:57.947

Link: CVE-2026-125211

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T21:15:14Z

Weaknesses