CVE-2026-125211

FFmpeg through 9.0.2 Heap Corruption via libaribcaption ASS Error Cleanup

High published · updated

7.3
CVSS score out of 10 · NVD (vulncheck.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
ffmpeg ffmpeg ≤9.0.2— CVE.org

References