CVE-2026-30754Ffmpeg out-of-bounds write
CVSS score
8.8
High
CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit probability (EPSS)
0.52%
0.52% chance of exploitation in the next 30 days, higher than 45.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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: NVD · CNA: cve@mitre.org
How to fix it, step by step
Check whether you're affected
Find every system running Ffmpeg and compare its version with the affected versions.
Update to a fixed version
- Update Ffmpeg to 8.1 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| FFmpeg Ffmpeg | < 8.1 |
Weakness
- CWE-787 out-of-bounds write
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-30754 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-30754?
CVE-2026-30754 has a CVSS 3.1 base score of 8.8 (high).
Which versions are affected?
Ffmpeg Ffmpeg (< 8.1)
Is there a patch for CVE-2026-30754?
The official record links to vendor advisories or patches; see “What to do” above.
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20746(Issue Tracking, Patch)
- github.com/momo-trip/poc_ffmpeg(Exploit)
- gist.github.com/momo-trip/4cddf2c9e15600873de55259dac6b0e6(Third Party Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.