CVE-2017-18220 json
The ReadOneJNGImage and ReadJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 allow remote attackers to cause a denial of service…
published 2018-03-05 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-9352
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.6%
- EPSS 3.6% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
The ReadOneJNGImage and ReadJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 allow remote attackers to cause a denial of service (magick/blob.c CloseBlob use-after-free) or possibly have unspecified other impact via a crafted file, a related issue to CVE-2017-11403.
Patch / fix
- graphicsmagick Debian 14, Debian 13, Debian 12 1.3.26-8
debian advisories DEBIAN-CVE-2017-18220
- graphicsmagick Ubuntu Pro 14.04 LTS 1.3.18-1ubuntu3.1+esm2
ubuntu advisories UBUNTU-CVE-2017-18220
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-78.44.1
suse advisories SUSE-SU-2018:0864-1
- graphicsmagick Alpine 3.24, Alpine 3.23, Alpine 3.22 +12 more 1.3.27-r0
alpine advisories ALPINE-CVE-2017-18220
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-18220 updated cvss 3.3
GraphicsMagick: Use after free in ReadOneJNGImage and ReadJNGImage functions in coders/png.c allow an attacker to cause a denial of service via crafted file
-
Red Hat Enterprise Linux 8 GraphicsMagickaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.64% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- sourceforge.net https://sourceforge.net/p/graphicsmagick/bugs/438/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
hg.graphicsmagick.org
/hg/GraphicsMagick/rev/98721124e51f
patch
-
sourceforge.net
/p/graphicsmagick/bugs/438/
exploit, issue-tracking, third-party-advisory
-
debian.org
/security/2018/dsa-4321
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ/
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/03/msg00025.html
mailing-list
-
securityfocus.com
/bid/103276
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/08/msg00002.html
mailing-list
Sources
- CVE List CVE-2017-18220
- NVD CVE-2017-18220
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.