← News
Ffmpeg: stack overflow via malicious RTMP server
HighAI-generated2026-11-26
- CVE
- CVE-2026-135725
- Severity
- High (CVSS 7.8)
- Attack conditions
- With local access to the device · No account needed · A user must take some action
- Exploitation probability (EPSS)
- 0.5% (within 30 days; FIRST EPSS, 29 November 2026)
Summary
FFmpeg versions prior to 9.1 are vulnerable to a stack-based buffer overflow. An attacker controlling an RTMP server can corrupt the client's memory.
Details
According to the NVD record, FFmpeg before version 9.1 has a stack-based buffer overflow in the function ff_rtmp_packet_write() located in libavformat/rtmppkt.c. The flaw is triggered when a malicious RTMP server sends a specially crafted Set Chunk Size packet on a high channel ID with an extended timestamp.
An attacker who exploits this flaw can cause the client's stack to be overwritten, potentially leading to arbitrary code execution or a crash of the publishing client.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 24 November 2026 NVD record published
- 26 November 2026 This article was written