CVE details
CVE-2026-30754
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.
Affected ports (3)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| multimedia/ffmpeg3 | ffmpeg3 | 3.0.2_1 | unaddressed | kreinholz@gmail.com |
| multimedia/linux-rl9-ffmpeg | linux-rl9-ffmpeg-libs | 7.1.5 | unaddressed | emulation@FreeBSD.org |
| multimedia/ffmpeg4 | ffmpeg4 | 4.4.8_2 | possibly backported | monwarez@mailoo.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>ffmpeg3</name>
<range><lt>8.1</lt></range>
</package>
<package>
<name>linux-rl9-ffmpeg-libs</name>
<range><lt>8.1</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-30754</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-30754</url>
</references>
<dates>
<discovery>2026-09-08</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>