Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135716: medium-severity vulnerability (CVSS 6.9) in FFmpeg FFmpeg.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.9.
Affected products and versions
FFmpeg FFmpeg < 9.1
| Product | Versions | Fixed in |
|---|---|---|
| FFmpeg FFmpeg | < 9.1 | — |
| ffmpeg ffmpeg | < 9.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932 — CVE Program
- https://github.com/FFmpeg/FFmpeg/commit/52b653190c001e132ef35ee6f113b0f413d16e79 — CVE Program
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/nutenc.c#L240 — CVE Program
- https://github.com/FFmpeg/FFmpeg — CVE Program
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-out-of-bounds-write-via-build-frame-code-in-nutenc-c — CVE Program
Weaknesses (CWE): CWE-787
Relevant change history
Published
Preliminary advisory published.