FFmpeg through 9.0.2 Heap Overflow via Nellymoser Encoder Trellis Search
- State
- Published
- Severity
- 7.3 High
- Published
- Nov 9, 2026
- Updated
- Nov 14, 2026
- Reserved
- Nov 9, 2026
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.
| Product | Versions |
|---|---|
| FFmpeg FFmpeg | 9.0.2 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.3 High | VulnCheck | |
| 3.1 | 7.0 High | VulnCheck |
Weaknesses
- CWE-193 Off-by-one Error
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24471Issue Tracker
- Patch CommitPatch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/nellymoserenc.c#L262Technical Details
- https://github.com/FFmpeg/FFmpegProduct Page
- VulnCheck Advisory: FFmpeg through 9.0.2 Heap Overflow via Nellymoser Encoder Trellis SearchThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.