Code executionin FFmpeg.
Proof of concept public (GitHub).
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.
- Upgrade FFmpeg to 9.1 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 24 Nov 2026CVE ID reserved by VulnCheck.
- 24 Nov 2026Published in the CVE List.
- 24 Nov 2026First public proof of concept on GitHub.
- 28 Nov 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other FFmpeg vulnerabilities
Same weakness: Heap-based buffer overflow
- code.ffmpeg.org issue-tracking
- github.com patch
- github.com technical-description
- github.com product
- www.vulncheck.com third-party-advisory
Patchminder. CVE-2026-135722: Code execution in FFmpeg. https://patchminder.com/cve/cve-2026-135722/ (accessed 5 December 2026).