Stack-Based Buffer Overflow in FFmpeg RTMP Processing
CVE-2026-135725

8.5HIGH

Key Information:

Vendor

Ffmpeg

Status
Vendor
CVE Published:
24 November 2026

What is CVE-2026-135725?

FFmpeg versions prior to 9.1 are susceptible to a stack-based buffer overflow vulnerability found in the ff_rtmp_packet_write() function located in libavformat/rtmppkt.c. This flaw can be exploited by attackers controlling malicious RTMP servers to overflow a 16-byte header buffer. By sending a Set Chunk Size packet on a high channel ID with an extended timestamp, an attacker can affect the handling of this packet through the handle_chunk_size() function, which in turn may corrupt the publishing client's stack, leading to potential unauthorized actions or crashes.

Affected Version(s)

FFmpeg 0 < 9.1

References

CVSS V4

Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Joshua Rogers (AISLE Research)
Michael Niedermayer
.