Skip to content
DayZeroHub
High Not yet writtenCVSS 8.5CVE-2026-135722

CVE-2026-135722: FFmpeg before 9.1 Heap Buffer Overflow via WAV Muxer Peak Envelope Writer

FFmpeg FFmpeg

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135722: high-severity vulnerability (CVSS 8.5) in FFmpeg FFmpeg.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 8.5.

Affected products and versions

FFmpeg FFmpeg < 9.1

ProductVersionsFixed in
FFmpeg FFmpeg< 9.1—
ffmpeg ffmpeg< 9.1—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-122

Relevant change history

  1. Published

    Preliminary advisory published.