What’s Vulnerable › Vulnerabilities
CVE-2026-56366: ImageMagick - Memory Leak in META Reader APP1JPEG Error Path
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-10 · updated 2026-10-29
- Weakness: CWE-401
Description
ImageMagick before 7.1.2-18 contains a memory leak vulnerability in the META reader when processing APP1JPEG input paths. Attackers can trigger this memory leak by providing specially crafted APP1JPEG image files, causing denial of service through resource exhaustion.
Affected products
- ImageMagick: before 6.9.13-43; from 7.0.0-0 before 7.1.2-18 — fixed in 6.9.13-43, 7.1.2-18
- ImageMagick: from 7.0.0 before 7.1.2-18 — fixed in 7.1.2-18
How to fix
Upgrade to a fixed version: ImageMagick 6.9.13-43, 7.1.2-18; ImageMagick 7.1.2-18. Check the vendor advisory for mitigations.
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9r56-3gjq-hqf7
- https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-meta-reader-app1jpeg-error-path
Get alerted when CVE-2026-56366 or the next vulnerability affects your stack