CVE-2026-135712FFmpeg integer overflow
CVSS score
6.9
Medium
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
No EPSS score yet.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
FFmpeg before 9.1 contains an integer overflow vulnerability in the split_planes size check of write_packet() in libavformat/img2enc.c that allows out-of-bounds heap reads. Attackers can supply a crafted input whose rawvideo stream declares very large width and height, remuxed into .y image files, to leak heap memory into output files or crash the application.
Source: NVD · CNA: disclosure@vulncheck.com
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 9.1 or later.
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
- Local
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- Low
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| FFmpeg FFmpeg | < 9.1 |
Weakness
- CWE-190 integer overflow
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-135712 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far.
What is the CVSS score of CVE-2026-135712?
CVE-2026-135712 has a CVSS 4.0 base score of 6.9 (medium).
Which versions are affected?
Ffmpeg FFmpeg (< 9.1)
Is there a patch for CVE-2026-135712?
The official record links to vendor advisories or patches; see “What to do” above.
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932
- github.com/FFmpeg/FFmpeg
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/img2enc.c#L214
- github.com/FFmpeg/FFmpeg/commit/ff53919a2d8442058d58ba0e83d16cc9e29d73fb
- www.vulncheck.com/advisories/ffmpeg-before-9.1-integer-overflow-out-of-bounds-read-via-img2enc-c-write-packet
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.