CVE-2026-125257 FFmpeg through 9.0.2 Heap Overflow via Nellymoser Encoder Trellis Search
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-125257?
CVE-2026-125257 is a high-severity vulnerability in FFmpeg, published on 9 Nov 2026.
Official description
FFmpeg through 9.0.2 contains an off-by-one heap overflow vulnerability in get_exponent_dynamic() in libavcodec/nellymoserenc.c that allows writing one element past the opt and path allocations. Attackers can supply crafted audio to applications encoding Nellymoser with trellis enabled, causing idx to equal OPT_SIZE and overwrite adjacent heap memory.
Weakness: CWE-193
Which versions are affected by CVE-2026-125257?
How do I fix CVE-2026-125257?
No fix has been published for CVE-2026-125257 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-125257 being exploited?
There is no known exploitation of CVE-2026-125257 in the wild and no public exploit code.
Sources
Also known as GHSA-76g4-x73x-7v54, UBUNTU-CVE-2026-125257.