FFmpeg before 9.1 Out-of-Bounds Write via build_frame_code() in nutenc.c
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 24, 2026
- Updated
- Nov 24, 2026
- Reserved
- Nov 24, 2026
Description
FFmpeg before 9.1 contains an out-of-bounds write vulnerability in build_frame_code() in libavformat/nutenc.c that allows attackers to corrupt the header_len[] array by supplying inputs with many audio streams. Attackers can remux a crafted input with many audio streams to NUT, causing out-of-bounds reads past static header tables and crashing the application.
| Product | Versions |
|---|---|
| FFmpeg FFmpeg | before 9.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 6.6 Medium | VulnCheck |
Weaknesses
- CWE-787 Out-of-bounds Write
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932Issue Tracker
- Patch CommitPatch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/nutenc.c#L240Technical Details
- https://github.com/FFmpeg/FFmpegProduct Page
- VulnCheck Advisory: FFmpeg before 9.1 Out-of-Bounds Write via build_frame_code() in nutenc.cThird-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.