# CVE-2026-135716: FFmpeg before 9.1 Out-of-Bounds Write via build_frame_code() in nutenc.c

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-11-24T03:13:59.865Z
- Modified: 2026-11-25T15:21:46.773Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- FFmpeg FFmpeg: before 9.1

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H`

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932> (issue-tracking, patch)
- <https://github.com/FFmpeg/FFmpeg/commit/52b653190c001e132ef35ee6f113b0f413d16e79> (patch)
- <https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/nutenc.c#L240> (patch, 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)

## Sources

- CVE List: [CVE-2026-135716](https://www.cve.org/CVERecord?id=CVE-2026-135716), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-135716](https://nvd.nist.gov/vuln/detail/CVE-2026-135716), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-135716 · Whole record: https://cve.day/CVE-2026-135716.json · Rebuilt by cve.day 2026-11-25T22:59:53.674Z
