CVE-2026-125257 PUBLISHED

FFmpeg through 9.0.2 Heap Overflow via Nellymoser Encoder Trellis Search

Assigner: VulnCheck
Reserved: 09.11.2026 Published: 09.11.2026 Updated: 09.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 7.3

Product Status

Vendor FFmpeg
Product FFmpeg
Versions Default: unaffected
  • affected from 0 to 9.0.2 (incl.)

Credits

  • Zheng Yu finder
  • Joshua Rogers (AISLE Research) reporter
  • Michael Niedermayer remediation developer

References

Problem Types

  • Off-by-one Error CWE