CVE-2026-25986 MEDIUM

CVE-2026-25986: ImageMagick has a heap buffer overflow in YUV 4:2:2 decoder

Vendor Imagemagick
Product ImageMagick
Weakness CWE-787
Published February 24, 2026
Last update February 28, 2026

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What the vulnerability does

01Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap buffer overflow write vulnerability exists in ReadYUVImage() (coders/yuv.c) when processing malicious YUV 4:2:2 (NoInterlace) images. The pixel-pair loop writes one pixel beyond the allocated row buffer. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

Key dates

02Disclosure timeline

February 24, 2026 CVE published
February 28, 2026 Record updated