Vulnerabilities · 2017 · Imagemagick
CVE-2017-17682
Imagemagick vulnerability
In ImageMagick 7.0.7-12 Q16, a large loop vulnerability was found in the function ExtractPostscript in coders/wpg.c, which allows attackers to cause a denial of service (CPU exhaustion) via a crafted wpg image file that triggers a ReadWPGImage call.
Affected products
Imagemagick, Ubuntu Linux, Debian 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.securityfocus.com/bid/102202 · Third Party Advisory
- github.com/ImageMagick/ImageMagick/issues/870 · Exploit
- lists.debian.org/debian-lts-announce/2018/01/msg00000.html · Third Party Advisory
- usn.ubuntu.com/3681-1/ · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/05/msg00015.html
- lists.debian.org/debian-lts-announce/2020/09/msg00007.html
- nvd.nist.gov/vuln/detail/CVE-2017-17682
- cve.org/CVERecord?id=CVE-2017-17682
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.