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.
References
Configurations
History
24 Nov 2026, 20:37
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* | |
| First Time |
Ffmpeg ffmpeg
Ffmpeg |
|
| References | () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932 - Issue Tracking, Patch | |
| References | () https://github.com/FFmpeg/FFmpeg - Product | |
| References | () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/wavenc.c#L391 - Product | |
| References | () https://github.com/FFmpeg/FFmpeg/commit/0b1c279b62af82e422e3fc21ba6cc2fc3154dc76 - Patch | |
| References | () https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-buffer-overflow-via-wav-muxer-peak-envelope-writer - Third Party Advisory |
24 Nov 2026, 04:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-24 04:17
Updated : 2026-11-28 04:17
NVD link : CVE-2026-135722
Mitre link : CVE-2026-135722
CVE.ORG link : CVE-2026-135722
JSON object : View
Products Affected
ffmpeg
- ffmpeg
CWE
CWE-122
Heap-based Buffer Overflow
