[MEDIUM 6.9] # CVE-2026-135712: FFmpeg before 9.1 contains an integer overflow vulnerability in the split_planes size check of write_packet()...
CVE-2026-135712 · severity: MEDIUM · CVSS 6.9 (v4.0)
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.
Details
- status: Undergoing Analysis
- published: 2026-11-23 23:17 EST
- last modified: 2026-11-24 12:18 EST
- weakness: CWE-190
- vector:
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
References
- NVD: CVE-2026-135712
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932
- https://github.com/FFmpeg/FFmpeg
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/img2enc.c#L214
- https://github.com/FFmpeg/FFmpeg/commit/ff53919a2d8442058d58ba0e83d16cc9e29d73fb
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-integer-overflow-out-of-bounds-read-via-img2enc-c-write-packet
-- EOF --