CVE-2017-17915: GraphicsMagick - Buffer Overflow
- Cve: CVE-2017-17915
- Name: GraphicsMagick - Buffer Overflow
- Description: In GraphicsMagick 1.4 snapshot-20171217 Q8, there is a heap-based buffer over-read in ReadMNGImage in coders/png.c, related to accessing one byte before testing whether a limit has been reached.
- Impact: Attackers can cause denial of service or potentially execute arbitrary code via crafted PNG images.
- Remediation: Update to the latest version of GraphicsMagick that addresses this vulnerability or apply patches if available.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to provide a crafted PNG image
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01827
- Epss percentile: 0.79393
- Assignee: [email protected]
- Published at: 2017-12-27T17:08:22Z
- Age in days: 3254
- Modified at: 2026-06-17T01:11:53Z
- Patch available: yes
- References total: 6
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-17915
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/1721f1b7e67a | Patch, Vendor Advisory |
| https://sourceforge.net/p/graphicsmagick/bugs/535/ | Issue Tracking, Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2018/01/msg00005.html | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2018/06/msg00009.html | Mailing List, Third Party Advisory |
| https://www.debian.org/security/2018/dsa-4321 | Third Party Advisory |
| https://usn.ubuntu.com/4266-1/ |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| graphicsmagick:graphicsmagick | = 1.3.27 | no | nvd | /v1/products/graphicsmagick/graphicsmagick |
| debian:debian_linux | = 9.0, = 8.0, = 7.0 | no | nvd | /v1/products/debian/debian_linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports