# CVE-2019-11598: In ImageMagick 7.0.8-40 Q16, there is a heap-based buffer over-read in the function WritePNMImage of coders/pnm.c, which allows an attacker…

- Severity: High 8.1 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.06%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-04-29T15:06:08.000Z
- Modified: 2026-06-17T02:13:14.360Z
- Weaknesses: CWE-125
- Assigned by: mitre

## Description

In ImageMagick 7.0.8-40 Q16, there is a heap-based buffer over-read in the function WritePNMImage of coders/pnm.c, which allows an attacker to cause a denial of service or possibly information disclosure via a crafted image file. This is related to SetGrayscaleImage in MagickCore/quantize.c.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- imagemagick imagemagick: 7.0.8-40

## Every score

- NVD: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:P`

## References

- <https://github.com/ImageMagick/ImageMagick/issues/1540> (exploit, patch, third-party-advisory)
- <http://www.securityfocus.com/bid/108102> (third-party-advisory, vdb-entry)
- <https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html> (mailing-list)
- <http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00057.html> (vendor-advisory)
- <https://usn.ubuntu.com/4034-1/> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00001.html> (vendor-advisory)
- <https://www.debian.org/security/2020/dsa-4712> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html> (mailing-list)

## Sources

- CVE List: [CVE-2019-11598](https://www.cve.org/CVERecord?id=CVE-2019-11598), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2019-11598](https://nvd.nist.gov/vuln/detail/CVE-2019-11598), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-11598 · Whole record: https://cve.day/CVE-2019-11598.json · Rebuilt by cve.day 2026-11-25T22:57:44.644Z
