Heap-based Buffer Overflow Affecting ffmpeg package, versions [,9.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.52% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-FFMPEG-22840844
  • published24 Nov 2026
  • disclosed24 Nov 2026
  • creditJoshua Rogers (AISLE Research)

Introduced: 24 Nov 2026

NewCVE-2026-135722  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 9.1 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the peak_init_writer() and wav_write_packet() functions in libavformat/wavenc.c. An attacker can corrupt heap memory, crash FFmpeg, and potentially execute code by supplying a zero-channel PCM stream for WAV output with peak-envelope writing enabled.

CVSS Base Scores

version 4.0
version 3.1