Use After Free in Imagemagick
CVE-2026-40311
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 8.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Imagemagick — versions < 7.1.2-19, < 6.9.13-44
Weakness classification (CWE)
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r83h-crwp-3vm7 (Vendor Advisory)
- https://github.com/ImageMagick/ImageMagick/commit/5facfecf1abb3fed46a08f614dcc43d1e548e20d (Patch)
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19 (Release Notes)
- https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0 (Release Notes)