Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135725: high-severity vulnerability (CVSS 8.5) in FFmpeg FFmpeg.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.5.
Affected products and versions
FFmpeg FFmpeg < 9.1
| Product | Versions | Fixed in |
|---|---|---|
| FFmpeg FFmpeg | < 9.1 | — |
| ffmpeg ffmpeg | < 9.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24916 — CVE Program
- https://github.com/FFmpeg/FFmpeg/commit/041098a1a3bee481a1c8e905257ba04dad0c60a1 — CVE Program
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/rtmppkt.c#L317 — CVE Program
- https://github.com/FFmpeg/FFmpeg — CVE Program
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-stack-based-buffer-overflow-via-ff-rtmp-packet-write — CVE Program
Weaknesses (CWE): CWE-121
Relevant change history
Published
Preliminary advisory published.