Vulnerabilities · 2017 · Imagemagick
CVE-2017-16546
Imagemagick vulnerability
The ReadWPGImage function in coders/wpg.c in ImageMagick 7.0.7-9 does not properly validate the colormap index in a WPG palette, which allows remote attackers to cause a denial of service (use of uninitialized data or invalid memory allocation) or possibly have unspecified other impact via a malformed WPG file.
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
- github.com/ImageMagick/ImageMagick/commit/2130bf6f89ded32ef0c88a11694f107c52566c53 · Patch
- github.com/ImageMagick/ImageMagick/issues/851 · Patch
- github.com/ImageMagick/ImageMagick/commit/e04cf3e9524f50ca336253513d977224e083b816 · 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-16546
- cve.org/CVERecord?id=CVE-2017-16546
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.