What’s Vulnerable › Vulnerabilities
CVE-2026-56376: ImageMagick - Heap Use-After-Free in Meta Coder
- Severity: low (CVSS 3.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-23 · updated 2026-10-29
- Weakness: CWE-416
Description
ImageMagick before 7.1.2-15 and 6.9.13-40 contains a heap use-after-free in the meta coder: when memory allocation fails, a single byte is written to a stale pointer. Remote attackers can trigger it by processing specially crafted image files, causing a denial of service.
Affected products
- ImageMagick: before 6.9.13-40; from 7.0.0-0 before 7.1.2-15 — fixed in 6.9.13-40, 7.1.2-15
- ImageMagick: from 7.0.0 before 7.1.2-15 — fixed in 7.1.2-15
How to fix
Upgrade to a fixed version: ImageMagick 6.9.13-40, 7.1.2-15; ImageMagick 7.1.2-15. Check the vendor advisory for mitigations.
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-2gq3-ww97-wfjm
- https://www.vulncheck.com/advisories/imagemagick-heap-use-after-free-in-meta-coder
Get alerted when CVE-2026-56376 or the next vulnerability affects your stack