Skip to content
OpenAdvisories
High · 7.0 CVE-2026-125211 EUVD-2026-120300GHSA-x5qr-4g8r-vgwj

FFmpeg through 9.0.2 Heap Corruption via libaribcaption ASS Error Cleanup

Published Nov 9, 2026 · Updated Nov 10, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
FFmpeg FFmpeg ≤ 9.0.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 ffmpeg No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS ffmpeg No fix yet —
Ubuntu Pro 24.04 LTS ffmpeg No fix yet —
Ubuntu Pro 22.04 LTS ffmpeg No fix yet —
Ubuntu Pro 20.04 LTS ffmpeg No fix yet —
Ubuntu Pro 18.04 LTS ffmpeg No fix yet —
Ubuntu Pro 16.04 LTS ffmpeg No fix yet —

Advisories 1

References