home / blog

2026-11-25 · high

CVE-2026-135706: Heap Overflow in FFmpeg

Critical heap buffer vulnerability in FFmpeg allows code execution with crafted module files.

CVE-2026-135706: Heap Overflow in FFmpeg

CVE-2026-135706 is a heap buffer overflow vulnerability in FFmpeg, specifically in the modplug_read_header() function of libavformat/libmodplug.c. The vulnerability occurs when the buffer is allocated using max_size instead of sz, allowing attackers to execute code through crafted module files.

The vulnerability has a CVSS score of 7.0 and high severity. It was officially reported on 11/24/2026 in NVD and a proof of concept is already available on GitHub, indicating that exploits exist.

Defenders should immediately update to FFmpeg 9.1 or later. Evaluate update compatibility within your infrastructure and implement controls on module input files to mitigate risk.

At a glance

What
Heap buffer overflow vulnerability in FFmpeg's modplug_read()
Severity
High (CVSS 7.0)
Affected versions
FFmpeg before 9.1
Fix
Update to FFmpeg 9.1 or later
Status
Officially confirmed in NVD
Action
Apply patches and validate updates

Sources: NVD, CVE-2026-135706

← All articles