# CVE-2017-12587

- 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-08-06 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2017-12587, DEBIAN-CVE-2017-12587
- Record: https://cvemate.com/vulnerability/CVE-2017-12587 · JSON: https://cvemate.com/vulnerability/CVE-2017-12587/json

## Description

```text
ImageMagick 7.0.6-1 has a large loop vulnerability in the ReadPWPImage function in coders\pwp.c.
```

## 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.031%, percentile 81.717%, 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

- debian imagemagick (Debian): \< 8:6.9.7.4+dfsg-16
- ubuntu imagemagick (Ubuntu): \< 8:6.7.7.10-6ubuntu3.11 \| \< 8:6.8.9.9-7ubuntu5.11
- imagemagick imagemagick: 7.0.6-1

## References

- <https://github.com/ImageMagick/ImageMagick/issues/535>
- <https://usn.ubuntu.com/3681-1/>
- <https://www.debian.org/security/2017/dsa-4019>
- <https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html>
- <https://ubuntu.com/security/CVE-2017-12587>
- <https://ubuntu.com/security/notices/USN-3681-1>
- <https://www.cve.org/CVERecord?id=CVE-2017-12587>
- <https://security-tracker.debian.org/tracker/CVE-2017-12587>

---

Data as of 2026-12-05T05:19:03.566Z. 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
