CVE-2026-135722

published 24 Nov 2026 · updated 24 Nov 2026

FFmpeg before 9.1 Heap Buffer Overflow via WAV Muxer Peak Envelope Writer

7.8HighCVSS 7.8

No exploitation in the wild has been reported. Fixed in 9.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ffmpeg<9.19.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-135722 severity on Zeptric[![CVE-2026-135722](https://zeptric.io/badge/cve/CVE-2026-135722.svg)](https://zeptric.io/cve/CVE-2026-135722)