[HIGH 8.5] # CVE-2026-135725: FFmpeg before 9.1 contains a stack-based buffer overflow vulnerability in ff_rtmp_packet_write() in libavforma...
CVE-2026-135725 · severity: HIGH · CVSS 8.5 (v4.0)
Description
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.
Details
- status: Awaiting Analysis
- published: 2026-11-23 23:17 EST
- last modified: 2026-11-23 23:17 EST
- weakness: CWE-121
- vector:
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
References
- NVD: CVE-2026-135725
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24916
- https://github.com/FFmpeg/FFmpeg
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/rtmppkt.c#L317
- https://github.com/FFmpeg/FFmpeg/commit/041098a1a3bee481a1c8e905257ba04dad0c60a1
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-stack-based-buffer-overflow-via-ff-rtmp-packet-write
-- EOF --