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.
References
| Link | Resource |
|---|---|
| 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 |
Configurations
History
15 Oct 2026, 19:25
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* | |
| First Time |
Ffmpeg
Ffmpeg ffmpeg |
|
| References | () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20746 - Issue Tracking, Patch | |
| References | () https://gist.github.com/momo-trip/4cddf2c9e15600873de55259dac6b0e6 - Third Party Advisory | |
| References | () https://github.com/momo-trip/poc_ffmpeg - Exploit |
Information
Published : 2026-09-08 21:17
Updated : 2026-10-15 19:25
NVD link : CVE-2026-30754
Mitre link : CVE-2026-30754
CVE.ORG link : CVE-2026-30754
JSON object : View
Products Affected
ffmpeg
- ffmpeg
CWE
CWE-787
Out-of-bounds Write
