CVE-2026-135716
FFmpeg before 9.1 Out-of-Bounds Write via build_frame_code() in nutenc.c
Medium · 6.9Fix available
- CVSS
- 6.9
- EPSS
- 0.35% (p21)
- Published
- 2026-11-24
- Age
- 5d old
- Modified
- 2026-11-25
- Product
- FFmpeg FFmpeg
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
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.
Fixed in
9.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | FFmpeg | >=0, <9.1 | 9.1 |
Sources
- NVD · first seen 5d ago · NVD terms of use
- OSV · first seen 5d ago · CC-BY 4.0
- CVE List · first seen 5d ago · CVE Terms of Use
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932 issue-tracking
- https://github.com/FFmpeg/FFmpeg/commit/52b653190c001e132ef35ee6f113b0f413d16e79 patch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/nutenc.c#L240 technical-description
- https://github.com/FFmpeg/FFmpeg product
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-out-of-bounds-write-via-build-frame-code-in-nutenc-c third-party-advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg web
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135716.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-135716 advisory