{"id":"CVE-2026-135722","aliases":["CVE-2026-135722"],"related":[],"kind":"vulnerability","state":"published","title":"FFmpeg before 9.1 Heap Buffer Overflow via WAV Muxer Peak Envelope Writer","summary":"FFmpeg before 9.1 contains a heap-based buffer overflow vulnerability in peak_init_writer() and wav_write_packet() in libavformat/wavenc.c that allows attackers to corrupt heap memory by supplying audio with zero channels. Attackers can provide a crafted PCM stream declaring no channels for WAV output with peak envelope enabled, causing out-of-bounds writes past peak_maxpos and peak_maxneg arrays, crashes, and potential code execution.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"FFmpeg before 9.1 contains a heap-based buffer overflow vulnerability in peak_init_writer() and wav_write_packet() in libavformat/wavenc.c that allows attackers to corrupt heap memory by supplying audio with zero channels. Attackers can provide a crafted PCM stream declaring no channels for WAV output with peak envelope enabled, causing out-of-bounds writes past peak_maxpos and peak_maxneg arrays, crashes, and potential code execution.","source":"cvelist"}],"published":"2026-11-24T03:13:53.361Z","modified":"2026-11-28T03:37:33.177Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"9.1","status":"affected"}],"vendor":"FFmpeg","product":"FFmpeg","repo":"https://code.ffmpeg.org/FFmpeg/FFmpeg","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"9.1"}],"vendor":"ffmpeg","product":"ffmpeg","cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FFmpeg/FFmpeg/commit/0b1c279b62af82e422e3fc21ba6cc2fc3154dc76","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/wavenc.c#L391","tags":["product","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FFmpeg/FFmpeg","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-buffer-overflow-via-wav-muxer-peak-envelope-writer","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Joshua Rogers (AISLE Research)","Michael Niedermayer"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-28T03:37:23.825Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-135722","url":"https://www.cve.org/CVERecord?id=CVE-2026-135722","licence":"CVE Terms of Use","modified":"2026-11-28T03:37:33.177Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-135722","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135722","licence":"Public domain","modified":"2026-11-24T20:37:44.187Z"}],"updatedAt":"2026-11-28T03:47:21.345Z","epss":{"score":0.00521,"percentile":0.4569,"date":"2026-12-01T12:00:22.000Z"}}