CVE-2026-30754

NameCVE-2026-30754
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6073-1, DSA-6079-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ffmpeg (PTS)bookworm, bookworm (security)7:5.1.9-0+deb12u1fixed
trixie (security), trixie7:7.1.5-0+deb13u1fixed
forky, sid7:9.0.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ffmpegsourcebookworm7:5.1.8-0+deb12u1DSA-6079-1
ffmpegsourcetrixie7:7.1.3-0+deb13u1DSA-6073-1
ffmpegsource(unstable)7:8.0.1-2

Notes

https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20746
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/d03483bd265b68db00c9b90f6f48dcf61c5c300d (n8.1)
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/8b42ed314af97390cd3269ecfcff79366acb9290 (n8.0.1)
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/ceae7a83532260170b110f954d8ae4d53e0f004a (n7.1.3)
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/b75fcac83c9444884d919b8673591315ec43eb83 (n5.1.8)

Search for package or bug name: Reporting problems