CVE-2026-135712
MEDIUM 6.9CVSS 4.0FFmpeg before 9.1 Integer Overflow Out-of-Bounds Read via img2enc.c write_packet()
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.
- Published
- 24 Nov 2026
- Last modified
- 25 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-190
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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 |
| CVE List | VulnCheck | CVSS 4.0 | MEDIUM 6.9 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
| CVE List | VulnCheck | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ffmpeg | ffmpegcpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* |
< 9.1 | 9.1 |
| CVE List | FFmpeg | FFmpeg | < 9.1 | 9.1 |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932 · Issue Tracking, Patch, issue-tracking
- https://github.com/FFmpeg/FFmpeg · Product
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/img2enc.c#L214 · Product, technical-description
- https://github.com/FFmpeg/FFmpeg/commit/ff53919a2d8442058d58ba0e83d16cc9e29d73fb · Patch
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-integer-overflow-out-of-bounds-read-via-img2enc-c-write-packet · Third Party Advisory, third-party-advisory
History
- 25 Nov 2026 20:37 UTC · CVE List: first stored (published 24 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 24 Nov 2026)