A memory corruption vulnerability exists in FFmpeg before 8.1. The RTP encoding process. In the nal_send function in libavformat/rtpenc_h264_hevc.c, a negative size parameter (size=-3) is passed to memcpy when transmitting H.264/HEVC streams via RTP using a crafted input file. This was detected using AddressSanitizer.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20746 Issue Tracking, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.8 · ffmpegNVD modified 2026-10-15 19:25
Affected (CPE criteria) 1
cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
References 3
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20746 Issue Tracking, Patch
- https://gist.github.com/momo-trip/4cddf2c9e15600873de55259dac6b0e6 Third Party Advisory
- https://github.com/momo-trip/poc_ffmpeg Exploit