# CVE-2017-14042

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

## Description

```text
A memory allocation failure was discovered in the ReadPNMImage function in coders/pnm.c in GraphicsMagick 1.3.26. The vulnerability causes a big memory allocation, which may lead to remote denial of service in the MagickRealloc function in magick/memory.c.
```

## Signals

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

## Affected

- alpine graphicsmagick (Alpine Linux): \< 1.3.26-r5
- debian graphicsmagick (Debian): \< 1.3.26-9
- ubuntu graphicsmagick (Ubuntu): \< 1.3.18-1ubuntu3.1+esm1 \| \< 1.3.23-1ubuntu0.2
- graphicsmagick graphicsmagick: 1.3.26

## References

- <http://www.securityfocus.com/bid/100556>
- <https://blogs.gentoo.org/ago/2017/08/28/graphicsmagick-memory-allocation-failure-in-magickrealloc-memory-c-2/>
- <http://hg.code.sf.net/p/graphicsmagick/code/rev/3bbf7a13643d>
- <https://usn.ubuntu.com/4206-1/>
- <https://ubuntu.com/security/CVE-2017-14042>
- <https://sourceforge.net/p/graphicsmagick/bugs/441/>
- <https://ubuntu.com/security/notices/USN-4206-1>
- <https://www.cve.org/CVERecord?id=CVE-2017-14042>
- <https://security-tracker.debian.org/tracker/CVE-2017-14042>
- <https://security.alpinelinux.org/vuln/CVE-2017-14042>

---

Data as of 2026-12-05T03:34:44.893Z. 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
