CVE Catalog

CVE-2026-125257

HighCVSS 7.0
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Encoding malicious audio to Nellymoser with trellis may lead to heap memory corruption, crashes, or potential code execution.

Recommendation

Upgrade FFmpeg to version 9.0.3 or later and avoid encoding untrusted audio to Nellymoser with trellis enabled.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS