P2 · HighCVSS 7.0
FFmpeg through 9.0.2 Heap Corruption via libaribcaption ASS Error Cleanup
- CVE-2026-125211
- GHSA-x5qr-4g8r-vgwj
- EUVD-2026-120300
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.
Text from the CVE.org record.
Affected
ffmpeg
- up to 9.0.2
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.