What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: ImageMagick 6.9.13-44, 7.1.2-19. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-40311 or the next vulnerability affects your stack