Vulnerabilities · 2017 · Imagemagick
CVE-2017-12877
Imagemagick vulnerability
Use-after-free vulnerability in the DestroyImage function in image.c in ImageMagick before 7.0.6-6 allows remote attackers to cause a denial of service via a crafted file.
Affected products
Imagemagick, Debian Linux, Ubuntu Linux. 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
- www.openwall.com/lists/oss-security/2017/08/16/2 · Patch
- blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/ · Patch
- github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890 · Patch
- security.gentoo.org/glsa/201711-07 · Third Party Advisory
- usn.ubuntu.com/3681-1/ · Third Party Advisory
- www.debian.org/security/2017/dsa-4040 · Third Party Advisory
- www.debian.org/security/2017/dsa-4074 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-12877
- cve.org/CVERecord?id=CVE-2017-12877
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.