high8.5
CVE-2026-125233
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in dvbsub_encode() in libavcodec/dvbsubenc.c that undercounts each CLUT segment header by tw…
Impact
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in dvbsub_encode() in libavcodec/dvbsubenc.c that undercounts each CLUT segment header by two bytes. Attackers can supply a file with many bitmap subtitle rectangles that, when transcoded to the dvbsub encoder, writes past the output buffer and corrupts heap memory.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · FFmpeg
| Product | Affected versions |
|---|---|
| FFmpeg | through 9.0.2 Version 0 ≤9.0.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24913
- https://github.com/FFmpeg/FFmpeg/commit/7f80b2ad83f37a4998d9617495c92b28a7339a90
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/dvbsubenc.c#L363
- https://github.com/FFmpeg/FFmpeg
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-dvb-subtitle-encoder
- https://github.com/advisories/GHSA-qhxm-9wr9-cwfx
- https://nvd.nist.gov/vuln/detail/CVE-2026-125233