cvelo
P2 · HighCVSS 7.8

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

  • CVE-2026-135722
  • GHSA-6g37-r68h-8wh2
  • EUVD-2026-133627

Description

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.

Text from the CVE.org record.

Affected

  • ffmpeg

    • before 9.1

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.