CVE-2026-125209 FFmpeg before 8.1.3 and 9.x before 9.0.2 Heap Buffer Overflow via dvdsubenc.c
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-125209?
CVE-2026-125209 is a high-severity vulnerability in FFmpeg, published on 9 Nov 2026.
Official description
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap buffer overflow vulnerability in the DVD subtitle encoder that underestimates RLE output size for odd-width rectangles. Attackers can supply files with crafted bitmap subtitles that, when transcoded to the dvdsub encoder, write past the output buffer and corrupt heap memory.
Weakness: CWE-131
Which versions are affected by CVE-2026-125209?
How do I fix CVE-2026-125209?
No fix has been published for CVE-2026-125209 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-125209 being exploited?
There is no known exploitation of CVE-2026-125209 in the wild and no public exploit code.
Sources
Also known as GHSA-w4mp-gp7g-4g8p, UBUNTU-CVE-2026-125209.