home / blog

2026-11-24 · high

CVE-2026-135725: Critical Stack Overflow in FFmpeg pre-9.1

Stack overflow in FFmpeg pre-9.1 allows remote code execution via RTMP. CVSS 7.8. Patch released.

CVE-2026-135725: Critical Stack Overflow in FFmpeg pre-9.1

CVE-2026-135725 is a stack overflow vulnerability in FFmpeg versions prior to 9.1. The flaw exists in the ff_rtmp_packet_write() function in libavformat/rtmppkt.c, where a 16-byte stack buffer can be overflowed by malicious RTMP servers sending Set Chunk Size packets with high channel IDs and extended timestamps.

The vulnerability has a CVSS score of 7.8, classified as high. It was officially published on 24/11/2026 and signals have emerged on GitHub indicating the existence of working exploits that leverage this vulnerability.

Immediate defenses include upgrading to FFmpeg version 9.1 or higher. Organizations using applications based on FFmpeg should verify if their implementations are exposed to RTMP protocols and apply patches as soon as they become available.

At a glance

What
Stack overflow in ff_rtmp_packet_write() in libavformat/rtmppkt.c
Severity
7.8 (high)
Affected versions
FFmpeg before 9.1
Fix
Update to FFmpeg 9.1 or later
Status
Vulnerability officially published on 24/11/2026
Action
Apply patch as soon as available

Sources: NVD, CVE-2026-135725

← All articles