CVE-2026-40311 MEDIUM

CVE-2026-40311: ImageMagick: Heap-use-after-free via XMP profile could result in a crash when printing values

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

CVSS base score

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

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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. Versions below 7.1.2-19 and 6.9.13-44 contain a heap use-after-free vulnerability that can cause a crash when reading and printing values from an invalid XMP profile. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.

Key dates

02Disclosure timeline

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