ZeroDay Brief
CVE-2026-135706 Exploit code public

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.

CVSS
7.8High
Chance of exploitation (EPSS)
0.49%
Published
Nov 24, 2026
In the news
Not yet
Vendor advisory More from this vendor

What to do

A serious buffer overflow in Ffmpeg that needs access to the machine itself. Exploit code is public, so patch it soon.

Action: Apply the vendor's update or follow its advisory.

Fixed in: 9.1

Affected versions
Ffmpeg
Before 9.1

Description

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.

CWE-122

Affected products

Get alerts for these →

Timeline 6

Latest change: Severity score changed from 7.0 to 7.8 (Dec 5, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Yesterday

  1. ChangeSeverity score changed from 7.0 to 7.8ZeroDay Brief · 23:45 UTC

Exploit code

Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.

References 5

  • code.ffmpeg.org Patch /FFmpeg/FFmpeg/pulls/24914
  • github.com Patch /FFmpeg/FFmpeg/commit/edc96a209b25b78d3e4b96e951774eb13c8da0b0
  • github.com /FFmpeg/FFmpeg
  • github.com /FFmpeg/FFmpeg/blob/n9.0.2/libavformat/libmodplug.c#L200
  • www.vulncheck.com /advisories/ffmpeg-before-9.1-heap-buffer-overflow-via-libmodplug-demuxer

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”