# CVE-2017-16545

- 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-16545, DEBIAN-CVE-2017-16545, ALPINE-CVE-2017-16545
- Record: https://cvemate.com/vulnerability/CVE-2017-16545 · JSON: https://cvemate.com/vulnerability/CVE-2017-16545/json

## Description

```text
The ReadWPGImage function in coders/wpg.c in GraphicsMagick 1.3.26 does not properly validate colormapped images, which allows remote attackers to cause a denial of service (ImportIndexQuantumType invalid write and application crash) or possibly have unspecified other impact via a malformed WPG image.
```

## Signals

- CVSS: 8.8 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 2.202%, percentile 83.138%, 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

- alpine graphicsmagick (Alpine Linux): \< 1.3.27-r0
- debian graphicsmagick (Debian): \< 1.3.26-18
- ubuntu graphicsmagick (Ubuntu): \< 1.3.18-1ubuntu3.1+esm5 \| \< 1.3.23-1ubuntu0.5
- graphicsmagick graphicsmagick: 1.3.26

## References

- <http://hg.code.sf.net/p/graphicsmagick/code/rev/e8086faa52d0>
- <https://www.debian.org/security/2018/dsa-4321>
- <https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html>
- <https://sourceforge.net/p/graphicsmagick/bugs/519/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ/>
- <https://usn.ubuntu.com/4248-1/>
- <https://ubuntu.com/security/CVE-2017-16545>
- <https://ubuntu.com/security/notices/USN-4248-1>
- <https://www.cve.org/CVERecord?id=CVE-2017-16545>
- <https://security-tracker.debian.org/tracker/CVE-2017-16545>
- <https://security.alpinelinux.org/vuln/CVE-2017-16545>

---

Data as of 2026-12-05T06:40:09.258Z. 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
