CVE-2026-40169 MEDIUM

CVE-2026-40169: ImageMagick: Heap buffer overflow (WRITE) in the YAML and JSON encoders

Vendor Imagemagick
Product ImageMagick
Weakness CWE-122
Published April 13, 2026
Last update April 14, 2026

CVSS base score

6.2/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

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

What the vulnerability does

01Description

ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below 7.1.2-19, a crafted image could result in an out of bounds heap write when writing a yaml or json output, resulting in a crash. This issue has been fixed in version 7.1.2-19.

Key dates

02Disclosure timeline

April 13, 2026 CVE published
April 14, 2026 Record updated