Memory Corruption Vulnerability in FFmpeg RTP Encoding for H.264/HEVC
CVE-2026-30754
8.8HIGH
What is CVE-2026-30754?
A memory corruption vulnerability is present in FFmpeg prior to version 8.1. The issue arises during the RTP encoding process in the nal_send function located in libavformat/rtpenc_h264_hevc.c. Specifically, a negative size parameter (-3) is passed to the memcpy function when handling H.264/HEVC streams with crafted input files. This flaw can lead to unexpected behavior and potential exploitation, as identified through testing with AddressSanitizer.
