# CVE-2017-16546

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2017-11-05 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2017-16546, DEBIAN-CVE-2017-16546
- Record: https://cvemate.com/vulnerability/CVE-2017-16546 · JSON: https://cvemate.com/vulnerability/CVE-2017-16546/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 2.201%, percentile 83.129%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- canonical ubuntu\_linux: 14.04 \| 16.04 \| 17.10 \| 18.04
- debian imagemagick (Debian): \< 8:6.9.9.34+dfsg-3
- ubuntu imagemagick (Ubuntu): \< 8:6.7.7.10-6ubuntu3.11 \| \< 8:6.8.9.9-7ubuntu5.11 \| \< 8:6.9.7.4+dfsg-16ubuntu6.2
- debian debian\_linux: 8.0 \| 9.0
- imagemagick imagemagick: 7.0.7-9

## References

- <https://www.debian.org/security/2017/dsa-4040>
- <https://usn.ubuntu.com/3681-1/>
- <https://www.debian.org/security/2017/dsa-4074>
- <https://github.com/ImageMagick/ImageMagick/issues/851>
- <https://github.com/ImageMagick/ImageMagick/commit/e04cf3e9524f50ca336253513d977224e083b816>
- <https://github.com/ImageMagick/ImageMagick/commit/2130bf6f89ded32ef0c88a11694f107c52566c53>
- <https://ubuntu.com/security/CVE-2017-16546>
- <https://ubuntu.com/security/notices/USN-3681-1>
- <https://www.cve.org/CVERecord?id=CVE-2017-16546>
- <https://security-tracker.debian.org/tracker/CVE-2017-16546>

---

Data as of 2026-12-05T05:05:42.732Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
