
FFmpeg 9.1 Patch Fixes High-Severity RTMP Stack Overflow
A high-severity stack-based buffer overflow vulnerability, designated CVE-2026-135725, has been identified in FFmpeg versions prior to 9.1. The flaw exists in the ff_rtmp_packet_write() function within libavformat/rtmppkt.c. Malicious RTMP servers can exploit this by sending a Set Chunk Size packet with an extended timestamp on a high channel ID, causing handle_chunk_size() to corrupt the publishing client's stack. The issue carries a CVSS 4.0 score of 8.5 and a CVSS 3.1 score of 7.8. The vulnerability was addressed in the release of FFmpeg 9.1.