Buffer overflow in Ffmpeg
CVE-2026-135725
- CVSS v3
- 7.8 High
- Public exploits
- 2 repositories
- EPSS
- 0.002 · 9.9th percentile
- Published
- 2026-11-24
FFmpeg before 9.1 contains a stack-based buffer overflow vulnerability in ff_rtmp_packet_write() in libavformat/rtmppkt.c that allows malicious RTMP servers to overflow a 16-byte header buffer. Attackers can send a Set Chunk Size packet on a high channel id with an extended timestamp, which handle_chunk_size() echoes back, corrupting the publishing client's stack.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - 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, 9.9th 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-135725 (last pushed 2026-11-24): PoC for CVE-2026-135725 — FFmpeg RTMP Stack Overflow ff_rtmp_packet_write (CVSS 7.8)
- googlesky/CVE-2026-135725 (last pushed 2026-11-24): FFmpeg <9.1: ff_rtmp_packet_write() uses a 16-byte stack buffer for an 18-byte RTMP header — extended timestamp packets overflow the stack. Verbatim buffer size from 041098a^ vs fix with ASan: stack…
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24916 (issue-tracking, Patch, Issue Tracking)
- github.com/FFmpeg/FFmpeg/commit/041098a1a3bee481a1c8e905257ba04dad0c60a1 (Patch, patch)
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/rtmppkt.c (Product, technical-description)
- github.com/FFmpeg/FFmpeg (Product, product)
- www.vulncheck.com/advisories/ffmpeg-before-9.1-stack-based-buffer-overflow-via-… (Third Party Advisory, third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.