{"id":"CVE-2026-135716","summary":"FFmpeg before 9.1 Out-of-Bounds Write via build_frame_code() in nutenc.c","details":"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.","modified":"2026-11-24T05:00:13.476816785Z","published":"2026-11-24T03:13:59.865Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135716.json"},"references":[{"type":"WEB","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg"},{"type":"REPORT","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135716.json"},{"type":"PACKAGE","url":"https://github.com/FFmpeg/FFmpeg"},{"type":"ARTICLE","url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/nutenc.c#L240"},{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/52b653190c001e132ef35ee6f113b0f413d16e79"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135716"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ffmpeg-before-9.1-out-of-bounds-write-via-build-frame-code-in-nutenc-c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"0"},{"fixed":"d66e84695b1a9627e04c77d2fdb4fdd7762c8c30"},{"fixed":"52b653190c001e132ef35ee6f113b0f413d16e79"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"9.1"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"52b653190c001e132ef35ee6f113b0f413d16e79"}]}]}}],"versions":["n8.2-dev","n8.1-dev","n7.2-dev","n7.1-dev","n6.2-dev","n6.1-dev","n5.2-dev","n5.1-dev","n4.5-dev","n4.4-dev","n4.3-dev","n4.2-dev","n4.1-dev","n3.5-dev","n3.4-dev","n3.3-dev","n3.2-dev","n3.1-dev","n2.9-dev","n2.8-dev","n2.7-dev","n2.6-dev","n2.5-dev","n2.4-dev","n2.3-dev","n2.2-dev","n2.0","n2.1-dev","n1.3-dev","n1.2-dev","n1.1-dev","n0.12-dev","n0.11-dev","n0.8","N"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-135716.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}