CVE-2017-16669 json
coders/wpg.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (heap-based buffer overflow and application cras…
published 2017-11-09 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-7853
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
coders/wpg.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted file, related to the AcquireCacheNexus function in magick/pixel_cache.c.
Patch / fix
- graphicsmagick Debian 14, Debian 13, Debian 12 1.3.26-19
debian advisories DEBIAN-CVE-2017-16669
- graphicsmagick Ubuntu 16.04 LTS 1.3.23-1ubuntu0.5
- graphicsmagick Ubuntu Pro 14.04 LTS 1.3.18-1ubuntu3.1+esm5
ubuntu advisories UBUNTU-CVE-2017-16669
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-4.78.33.1
- GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-4.78.19.1
- ImageMagick SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +8 more 6.8.8.1-71.17.1
suse advisories SUSE-SU-2018:0413-1SUSE-SU-2017:3435-1SUSE-SU-2017:3388-1
- graphicsmagick Alpine 3.24, Alpine 3.23, Alpine 3.22 +12 more 1.3.27-r0
alpine advisories ALPINE-CVE-2017-16669
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- hg.code.sf.net/p/graphicsmagick/code/rev/1b9e64a8901e patch
- hg.code.sf.net/p/graphicsmagick/code/rev/2b7c826d36af patch
- hg.code.sf.net/p/graphicsmagick/code/rev/fcd3ed3394f6 patch
- hg.code.sf.net/p/graphicsmagick/code/rev/135bdcb88b8d patch
- hg.code.sf.net/p/graphicsmagick/code/rev/75245a215fff patch
- hg.code.sf.net/p/graphicsmagick/code/rev/2a21cda3145b patch
- hg.code.sf.net/p/graphicsmagick/code/rev/3dc7b4e3779d patch
- hg.code.sf.net/p/graphicsmagick/code/rev/e8086faa52d0 patch
- sourceforge.net/p/graphicsmagick/bugs/450/ advisory
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-16669 updated cvss 5.3
GraphicsMagick: Heap buffer over-write in AcquireCacheNexus function in magick/pixel_cache.c
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
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.40% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- sourceforge.net https://sourceforge.net/p/graphicsmagick/bugs/450/ 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-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
hg.code.sf.net
/p/graphicsmagick/code/rev/1b9e64a8901e
patch
-
hg.code.sf.net
/p/graphicsmagick/code/rev/2b7c826d36af
patch
-
hg.code.sf.net
/p/graphicsmagick/code/rev/fcd3ed3394f6
patch
-
hg.code.sf.net
/p/graphicsmagick/code/rev/135bdcb88b8d
patch
-
sourceforge.net
/p/graphicsmagick/bugs/450/
exploit, issue-tracking, patch, third-party-advisory
-
hg.code.sf.net
/p/graphicsmagick/code/rev/75245a215fff
patch
-
hg.code.sf.net
/p/graphicsmagick/code/rev/2a21cda3145b
patch
-
hg.code.sf.net
/p/graphicsmagick/code/rev/3dc7b4e3779d
patch
-
hg.code.sf.net
/p/graphicsmagick/code/rev/e8086faa52d0
patch
-
debian.org
/security/2018/dsa-4321
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4248-1/
vendor-advisory
-
securityfocus.com
/bid/101795
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2017/11/msg00013.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/06/msg00009.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2017-16669
- NVD CVE-2017-16669
Fencer Intel 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.