Heap-Based Buffer Overflow in FFmpeg's WAV Writer Component
CVE-2026-135722
8.5HIGH
What is CVE-2026-135722?
FFmpeg versions prior to 9.1 are susceptible to a heap-based buffer overflow vulnerability found in the peak_init_writer() and wav_write_packet() functions within libavformat/wavenc.c. This flaw enables attackers to manipulate heap memory by sending specially crafted audio streams that declare zero channels. Such manipulation can lead to out-of-bounds memory writes, resulting in crashes and the potential for arbitrary code execution, particularly when the peak envelope feature is enabled.
Affected Version(s)
FFmpeg 0 < 9.1
References
CVSS V4
Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Joshua Rogers (AISLE Research)
Michael Niedermayer
