CVE-2026-30754 ffmpeg: FFmpeg: Arbitrary code execution via crafted H.264/HEVC RTP stream
HighCVSS 8.8
EPSS 0.52%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
14 packages: 6 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/ffmpeg(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-azure-rocm-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-vllm-gaudi-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| debian/ffmpeg(Debian 12) | < 7:5.1.8-0+deb12u1; = 7:5.1.3-1; = 7:5.1.3-2; = 7:5.1.4-0+deb12u1 +3 more | 7:5.1.8-0+deb12u1 | Fixed |
| debian/ffmpeg(Debian 13) | < 7:7.1.3-0+deb13u1; = 7:7.1.1-1; = 7:7.1.2-0+deb13u1; = 7:7.1.2-1 | 7:7.1.3-0+deb13u1 | Fixed |
| debian/ffmpeg(Debian 14) | < 7:8.0.1-2; = 7:7.1.1-1; = 7:7.1.2-1; = 7:7.1.3-1 +3 more | 7:8.0.1-2 | Fixed |
| ffmpeg/ffmpeg | < 8.1 | 8.1 | Fixed |
| ubuntu/ffmpeg(Ubuntu 22.04) | < 7:4.4.2-0ubuntu0.22.04.1+esm17 | 7:4.4.2-0ubuntu0.22.04.1+esm17 | Fixed |
| ubuntu/ffmpeg(Ubuntu 24.04) | < 7:6.1.1-3ubuntu5+esm15 | 7:6.1.1-3ubuntu5+esm15 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/ffmpeg(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhoai/odh-vllm-gaudi-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| debian/ffmpeg(Debian:12) | < 7:5.1.8-0+deb12u1 | 7:5.1.8-0+deb12u1 |
| debian/ffmpeg(Debian:12) | = 7:5.1.3-1 | No fix listed |
| debian/ffmpeg(Debian:12) | = 7:5.1.3-2 | No fix listed |
| debian/ffmpeg(Debian:12) | = 7:5.1.4-0+deb12u1 | No fix listed |
| debian/ffmpeg(Debian:12) | = 7:5.1.5-0+deb12u1 | No fix listed |
| debian/ffmpeg(Debian:12) | = 7:5.1.6-0+deb12u1 | No fix listed |
| debian/ffmpeg(Debian:12) | = 7:5.1.7-0+deb12u1 | No fix listed |
| debian/ffmpeg(Debian:13) | < 7:7.1.3-0+deb13u1 | 7:7.1.3-0+deb13u1 |
| debian/ffmpeg(Debian:13) | = 7:7.1.1-1 | No fix listed |
| debian/ffmpeg(Debian:13) | = 7:7.1.2-0+deb13u1 | No fix listed |
| debian/ffmpeg(Debian:13) | = 7:7.1.2-1 | No fix listed |
| debian/ffmpeg(Debian:14) | < 7:8.0.1-2 | 7:8.0.1-2 |
| debian/ffmpeg(Debian:14) | = 7:7.1.1-1 | No fix listed |
| debian/ffmpeg(Debian:14) | = 7:7.1.2-1 | No fix listed |
| debian/ffmpeg(Debian:14) | = 7:7.1.3-1 | No fix listed |
| debian/ffmpeg(Debian:14) | = 7:8.0-1 | No fix listed |
| debian/ffmpeg(Debian:14) | = 7:8.0-2 | No fix listed |
Show 4 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ffmpeg(Debian:14) | = 7:8.0.1-1 | No fix listed |
| ubuntu/ffmpeg(Ubuntu:22.04) | < 7:4.4.2-0ubuntu0.22.04.1+esm17 | 7:4.4.2-0ubuntu0.22.04.1+esm17 |
| ubuntu/ffmpeg(Ubuntu:24.04) | < 7:6.1.1-3ubuntu5+esm15 | 7:6.1.1-3ubuntu5+esm15 |
| ffmpeg/ffmpeg | < 8.1 | 8.1 |
References
- code.ffmpeg.org issue-tracking patch
- github.com exploit
- gist.github.com third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2530145 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-30754 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8915-1 vendor-advisory