CVE Explore

Buffer overflow in Ffmpeg

CVE-2026-135706

CVSS v3
7.0 High
Public exploits
2 repositories
EPSS
0.002 · 8.4th percentile
Published
2026-11-24

FFmpeg before 9.1 contains a heap buffer overflow vulnerability in modplug_read_header() in libavformat/libmodplug.c that allocates the buffer using max_size instead of sz. When max_size is set to 0, attackers can supply crafted module files that avio_read() copies into a zero-sized buffer, causing memory corruption, crashes, or possible code execution.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.

Attack Vector
Local AV:L
Attack Complexity
High AC:H
Privileges Required
None PR:N
User Interaction
Required UI:R
Scope
Unchanged S:U
Confidentiality
High C:H
Integrity
High I:H
Availability
High A:H

EPSS exploit prediction

EPSS 0.002, 8.4th percentile (last changed ). About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

2 public repositories with exploit or proof-of-concept code for this CVE:

  • cveForge/CVE-2026-135706 (last pushed 2026-11-24): PoC for CVE-2026-135706 — FFmpeg libmodplug XM Pattern Heap Overflow (CVSS 7.0)
  • googlesky/CVE-2026-135706 (last pushed 2026-11-24): FFmpeg <9.1: modplug_read_header() allocates max_size instead of sz — a crafted module with max_size=0 overflows the 0-byte buffer via avio_read. Verbatim allocation from edc96a2^ vs av_malloc(sz) wi…

References