What’s Vulnerable › Vulnerabilities
CVE-2016-8862
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2017-02-15 · updated 2026-06-17
- Weakness: CWE-119
Description
The AcquireMagickMemory function in MagickCore/memory.c in ImageMagick before 7.0.3.3 allows remote attackers to have unspecified impact via a crafted image, which triggers a memory allocation failure.
Affected products
- Debian Linux: 8.0
- ImageMagick: before 6.9.4-0; from 7.0.0-0 before 7.0.3-3 — fixed in 6.9.4-0, 7.0.3-3
How to fix
Upgrade to a fixed version: ImageMagick 6.9.4-0, 7.0.3-3. Check the vendor advisory for mitigations.
References
- http://www.debian.org/security/2016/dsa-3726
- http://www.openwall.com/lists/oss-security/2016/10/20/2
- http://www.openwall.com/lists/oss-security/2016/10/20/3
- http://www.securityfocus.com/bid/93794
- https://blogs.gentoo.org/ago/2016/10/17/imagemagick-memory-allocation-failure-in-acquiremagickmemory-memory-c/
- https://bugzilla.redhat.com/show_bug.cgi?id=1387135
- https://github.com/ImageMagick/ImageMagick/issues/271
- http://www.debian.org/security/2016/dsa-3726
- http://www.openwall.com/lists/oss-security/2016/10/20/2
- http://www.openwall.com/lists/oss-security/2016/10/20/3
- http://www.securityfocus.com/bid/93794
- https://blogs.gentoo.org/ago/2016/10/17/imagemagick-memory-allocation-failure-in-acquiremagickmemory-memory-c/
Get alerted when CVE-2016-8862 or the next vulnerability affects your stack