Description
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in aribcaption_trans_text_subtitle() in libavcodec/libaribcaption.c when decoding with sub_type text. Attackers can supply a crafted ARIB STD-B24 caption stream with zero regions, causing a pointer write past a zero-sized sub->rects allocation and corrupting heap memory.
Published: 2026-11-09
Score: 7.3 High
EPSS: n/a
KEV: No
Impact: Arbitrary Code Execution
Action: Immediate Patch
AI Analysis

Impact

FFmpeg in versions before 9.0.2 suffers a heap buffer overflow triggered during the processing of ARIB STD‑B24 caption streams that use the text subtitle subtype. The routine aribcaption_trans_text_subtitle() incorrectly assumes that the sub‑region array has been allocated with a non‑zero size and writes past the end of a zero‑length allocation when a stream contains zero regions. This overflow corrupts adjacent heap objects and could lead to execution of arbitrary code or program crash.

Affected Systems

The flaw exists in the FFmpeg project, affecting all distributions that ship libavcodec/libaribcaption.c compiled with a version of FFmpeg older than 9.0.3. Any system that decodes ARIB STD‑B24 captions in a caption stream—such as popular media players, streaming services, or embedded devices using FFmpeg—may be impacted when the affected sub‑type is encountered. Versions 9.0.3 and later contain the security fix.

Risk and Exploitability

With a CVSS score of 7.3 the vulnerability is deemed high severity. No EPSS score is publicly available, and the flaw is not listed in the CISA KEV catalog, meaning there is no known widespread exploitation. The attack vector is inferred to be remote, as a malicious media file can be supplied to an application that uses FFmpeg to decode subtitles. A successful exploitation would allow memory corruption that could be leveraged for code execution or denial of service, depending on the victim process privileges.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to version 9.0.3 or later to include the heap‑overflow fix.
  • If upgrading is delayed, disable ARIB caption subtitle processing or explicitly reject caption streams containing the text subtype by configuring the media decoder to ignore or drop such streams.
  • Validate or sandbox subtitle inputs in custom applications to isolate the decoding process, reducing the impact of memory corruption.

Generated by OpenCVE AI on November 9, 2026 at 21:09 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 a heap buffer overflow vulnerability in aribcaption_trans_text_subtitle() in libavcodec/libaribcaption.c when decoding with sub_type text. Attackers can supply a crafted ARIB STD-B24 caption stream with zero regions, causing a pointer write past a zero-sized sub->rects allocation and corrupting heap memory.
Title FFmpeg through 9.0.2 Heap Overflow in libaribcaption Text Subtitle Decoding
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-131
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:27.398Z

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

Link: CVE-2026-125210

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-125210

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size