Description
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.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20746Issue Tracking, Patch
- https://gist.github.com/momo-trip/4cddf2c9e15600873de55259dac6b0e6Third Party Advisory
- https://github.com/momo-trip/poc_ffmpegExploit
Timeline
- Published
- Sep 8, 2026
- Last modified
- Oct 15, 2026
- NVD status
- Analyzed