CVE-2026-125211
FFmpeg through 9.0.2 contains an out-of-bounds read and invalid …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24992
- github.com/FFmpeg/FFmpeg
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/libaribcaption.c#L778
- github.com/FFmpeg/FFmpeg/commit/4ec127c82678b06658e963291f272881dc878735
- www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-corruption-via-libaribcaption-ass-e
- nvd.nist.gov/vuln/detail/CVE-2026-125211
- cve.org/CVERecord?id=CVE-2026-125211
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.