{"id":"CVE-2026-135722","aliases":[],"title":"FFmpeg before 9.1 Heap Buffer Overflow via WAV Muxer Peak Envelope Writer","originalDescription":"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.","severity":{"cvss":8.5,"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","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00521,"percentile":0.37561},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"FFmpeg","range":">=0, <9.1","fixed":"9.1"}],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932","type":"issue-tracking"},{"url":"https://github.com/FFmpeg/FFmpeg/commit/0b1c279b62af82e422e3fc21ba6cc2fc3154dc76","type":"patch"},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/wavenc.c#L391","type":"technical-description"},{"url":"https://github.com/FFmpeg/FFmpeg","type":"product"},{"url":"https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-buffer-overflow-via-wav-muxer-peak-envelope-writer","type":"third-party-advisory"},{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg","type":"web"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135722.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135722","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-28T04:33:02.548Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135722","license":"NVD terms of use","firstSeenAt":"2026-11-24T04:41:38.478Z"},{"name":"osv","at":"2026-11-28T22:43:03.572Z","url":"https://osv.dev/vulnerability/CVE-2026-135722","license":"CC-BY 4.0","firstSeenAt":"2026-11-24T05:15:24.393Z"},{"name":"cvelistV5","at":"2026-11-29T06:22:08.690Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-135722","license":"CVE Terms of Use","firstSeenAt":"2026-11-24T03:33:23.149Z"}],"firstSeenAt":"2026-11-24T03:33:23.149Z","publishedAt":"2026-11-24T03:13:53.361Z","modifiedAt":"2026-11-28T21:45:53.676Z"}