Vulnerabilities · 2016 · Imagemagick
CVE-2016-8866
Imagemagick vulnerability
The AcquireMagickMemory function in MagickCore/memory.c in ImageMagick 7.0.3.3 before 7.0.3.8 allows remote attackers to have unspecified impact via a crafted image, which triggers a memory allocation failure. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-8862.
Affected products
Imagemagick, Leap, Opensuse. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Imagemagick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugzilla.redhat.com/show_bug.cgi?id=1388816 · Patch
- lists.opensuse.org/opensuse-security-announce/2016-12/msg00085.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2017-01/msg00006.html · Third Party Advisory
- lists.opensuse.org/opensuse-updates/2016-12/msg00141.html · Third Party Advisory
- www.openwall.com/lists/oss-security/2016/10/20/3 · Third Party Advisory
- www.openwall.com/lists/oss-security/2016/10/21/5 · Third Party Advisory
- blogs.gentoo.org/ago/2016/10/20/imagemagick-memory-allocation-failure-in-acquiremagickmemo · Exploit
- github.com/ImageMagick/ImageMagick/issues/271 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2016-8866
- cve.org/CVERecord?id=CVE-2016-8866
More vulnerabilities in Imagemagick products
CVE-2026-23876CVE-2026-23874CVE-2026-22770CVE-2025-69204CVE-2025-68950CVE-2025-68618CVE-2025-68469CVE-2025-66628All 670
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.