CVE-2026-125257

published 9 Nov 2026 · updated 14 Nov 2026

FFmpeg through 9.0.2 Heap Overflow via Nellymoser Encoder Trellis Search

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ffmpeg<=9.0.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-125257 severity on Zeptric[![CVE-2026-125257](https://zeptric.io/badge/cve/CVE-2026-125257.svg)](https://zeptric.io/cve/CVE-2026-125257)