patchminder
Proof of concept · GitHub CVE-2026-135722

Code executionin FFmpeg.

Published 24 Nov 2026 · Updated 28 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.5% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 9.1 or later
In plain words

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.

What to do now
  • Upgrade FFmpeg to 9.1 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
FFmpeg
before 9.1
9.1
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 24 Nov 2026
    CVE ID reserved by VulnCheck.
  2. 24 Nov 2026
    Published in the CVE List.
  3. 24 Nov 2026
    First public proof of concept on GitHub.
  4. 28 Nov 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
2 repositories
GitHubno warning signs foundgooglesky/CVE-2026-1357220 stars · created 24 Nov 2026FFmpeg <9.1: wavenc peak_init_writer() accepts zero channels, sizing the peak buffer to zero · wav_write_packet overflows the heap. Verbatim guard from 0b1c279^ vs fix with ASan: heap WRITE overflow
GitHubno warning signs foundcveForge/CVE-2026-1357220 stars · created 24 Nov 2026PoC for CVE-2026-135722 · FFmpeg wav_write_packet Heap Overflow (CVSS 7.8)

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.

Related

Other FFmpeg vulnerabilities

Same weakness: Heap-based buffer overflow

All CWE-122 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-135722: Code execution in FFmpeg. https://patchminder.com/cve/cve-2026-135722/ (accessed 5 December 2026).