FFmpeg before 9.1 Stack-Based Buffer Overflow via ff_rtmp_packet_write()

State
Published
Severity
8.5 High
Published
Nov 24, 2026
Updated
Nov 24, 2026
Reserved
Nov 24, 2026

Read the record on cve.org

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.

ProductVersions
FFmpeg FFmpegbefore 9.1 Affected

Weaknesses

  • CWE-121 Stack-based Buffer Overflow

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.