CVE-2026-135712

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

History

25 Nov 2026, 19:14

Type Values Removed Values Added
CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
First Time Ffmpeg ffmpeg
Ffmpeg
References () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932 - () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932 - Issue Tracking, Patch
References () https://github.com/FFmpeg/FFmpeg - () https://github.com/FFmpeg/FFmpeg - Product
References () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/img2enc.c#L214 - () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/img2enc.c#L214 - Product
References () https://github.com/FFmpeg/FFmpeg/commit/ff53919a2d8442058d58ba0e83d16cc9e29d73fb - () https://github.com/FFmpeg/FFmpeg/commit/ff53919a2d8442058d58ba0e83d16cc9e29d73fb - Patch
References () https://www.vulncheck.com/advisories/ffmpeg-before-9.1-integer-overflow-out-of-bounds-read-via-img2enc-c-write-packet - () https://www.vulncheck.com/advisories/ffmpeg-before-9.1-integer-overflow-out-of-bounds-read-via-img2enc-c-write-packet - Third Party Advisory

24 Nov 2026, 04:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-24 04:17

Updated : 2026-11-25 19:14


NVD link : CVE-2026-135712

Mitre link : CVE-2026-135712

CVE.ORG link : CVE-2026-135712


JSON object : View

Products Affected

ffmpeg

  • ffmpeg
CWE
CWE-190

Integer Overflow or Wraparound