CVE-2026-40311

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

State
Published
Severity
5.5 Medium
Published
Apr 13, 2026
Updated
Apr 14, 2026
Reserved
Apr 10, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

Affected Products

ProductVersions
ImageMagickImageMagick
  • < 7.1.2-19Affected
  • < 6.9.13-44Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.