---
id: "CVE-2026-125210"
page: "https://infrastack.ai/live/CVE-2026-125210"
kind: "vulnerability"
aliases: ["CVE-2026-125210"]
title: "FFmpeg: crafted ARIB caption stream overflows heap during subtitle decoding"
severity: "high"
cvss: 7.3
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "FFmpeg", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["ffmpeg", "libaribcaption", "media-processing", "package"]
not_affected_if: ["no-libaribcaption", "trusted-input-only"]
published_at: "2026-11-09T19:16:57+00:00"
first_seen_at: "2026-11-09T19:28:18+00:00"
updated_at: "2026-11-09T19:30:06+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125210", "first_seen_at": "2026-11-09T19:28:18+00:00"}]
exploit_sources: []
---

# FFmpeg: crafted ARIB caption stream overflows heap during subtitle decoding

Link for people: https://infrastack.ai/live/CVE-2026-125210 (this .md is for agents)

FFmpeg through 9.0.2 has a heap buffer overflow in its libaribcaption subtitle decoder when a stream has zero regions. An attacker who supplies a crafted ARIB STD-B24 caption stream can corrupt heap memory, which can lead to code execution in the process that decodes the file.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:FFmpeg affected range not listed fixed no fixed version listed

## How to check

- Run `ffmpeg -version` and compare against the fixed release named in the linked patch
- Check whether FFmpeg was built with libaribcaption (`ffmpeg -decoders | grep -i aribcaption`)
- Check whether your pipeline decodes untrusted broadcast or TS files with subtitle decoding enabled

## Fix

- FFmpeg: unknown (the sources link a patch but do not state the fixed version)

## Timeline

- 2026-11-09T19:28:18+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-125210

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-overflow-in-libaribcaption-text-subtitle-decoding
- [fix] Patch: github.com https://github.com/FFmpeg/FFmpeg/commit/7c06aea6f0d26dd70c94ccba6127059cd0a0e352

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
