FFmpeg
FFmpeg before 9.1 Heap Buffer Overflow via WAV Muxer Peak Envelope Writer
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 9.1
Fixed in 9.1
Mitigation
Upgrade FFmpeg to 9.1 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 11 h after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-135722 (created 24 Nov 2026, found by us: 24 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-135722 | 24 Nov 2026 +11 h | 24 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.