| Name | CVE-2026-30754 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6073-1, DSA-6079-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ffmpeg (PTS) | bookworm, bookworm (security) | 7:5.1.9-0+deb12u1 | fixed |
| trixie (security), trixie | 7:7.1.5-0+deb13u1 | fixed | |
| forky, sid | 7:9.0.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ffmpeg | source | bookworm | 7:5.1.8-0+deb12u1 | DSA-6079-1 | ||
| ffmpeg | source | trixie | 7:7.1.3-0+deb13u1 | DSA-6073-1 | ||
| ffmpeg | source | (unstable) | 7:8.0.1-2 |
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)