# CVE-2017-17503: ReadGRAYImage in coders/gray.c in GraphicsMagick 1.3.26 has a magick/import.c ImportGrayQuantumType heap-based buffer over-read via a craft…

- Severity: High 8.8 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/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): 1.92%, higher than 80% of CVEs (2026-12-01)
- Published: 2017-12-11T02:00:00.000Z
- Modified: 2026-06-17T01:10:53.060Z
- Weaknesses: CWE-125
- Assigned by: mitre

## Description

ReadGRAYImage in coders/gray.c in GraphicsMagick 1.3.26 has a magick/import.c ImportGrayQuantumType heap-based buffer over-read via a crafted file.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- graphicsmagick graphicsmagick: 1.3.26
- debian debian_linux: 7.0; 8.0; 9.0

## Every score

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

## References

- <https://sourceforge.net/p/graphicsmagick/bugs/522/> (issue-tracking, third-party-advisory)
- <https://www.debian.org/security/2018/dsa-4321> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2018/06/msg00009.html> (mailing-list, third-party-advisory)
- <http://hg.code.sf.net/p/graphicsmagick/code/rev/460ef5e858ad> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2018/01/msg00005.html> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ/> (vendor-advisory)
- <https://usn.ubuntu.com/4248-1/> (vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2017-17503 · Whole record: https://cve.day/CVE-2017-17503.json · Rebuilt by cve.day 2026-11-25T22:57:33.870Z
