CVE-2018-20189 json
In GraphicsMagick 1.3.31, the ReadDIBImage function of coders/dib.c has a vulnerability allowing a crash and denial of service via a dib fi…
published 2018-12-17 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-12756
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
In GraphicsMagick 1.3.31, the ReadDIBImage function of coders/dib.c has a vulnerability allowing a crash and denial of service via a dib file that is crafted to appear with direct pixel values and also colormapping (which is not available beyond 8-bits/sample), and therefore lacks indexes initialization.
Patch / fix
- graphicsmagick Debian 14, Debian 13, Debian 12 1.4~hg15873-1
debian advisories DEBIAN-CVE-2018-20189
- graphicsmagick Ubuntu 18.04 LTS 1.3.28-2ubuntu0.1
- graphicsmagick Ubuntu Pro 14.04 LTS 1.3.18-1ubuntu3.1+esm8
- graphicsmagick Ubuntu Pro 16.04 LTS 1.3.23-1ubuntu0.6+esm2
ubuntu advisories UBUNTU-CVE-2018-20189
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 Package Hub 15 1.3.29-bp150.2.12.1
opensuse advisories openSUSE-SU-2019:0003-1
- graphicsmagick Alpine 3.24, Alpine 3.23, Alpine 3.22 +12 more 1.3.32-r0
alpine advisories ALPINE-CVE-2018-20189
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-2018-20189 updated cvss 3.3
GraphicsMagick: denial of service via a dib file
-
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
2.28% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- sourceforge.net https://sourceforge.net/p/graphicsmagick/bugs/585/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
hg.graphicsmagick.org
/hg/GraphicsMagick/rev/648e2b406589
mailing-list, patch, vendor-advisory
-
sourceforge.net
/p/graphicsmagick/bugs/585/
exploit, third-party-advisory
-
usn.ubuntu.com
/4207-1/
vendor-advisory
-
debian.org
/security/2020/dsa-4640
vendor-advisory
-
securityfocus.com
/bid/106227
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/12/msg00018.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-20189
- NVD CVE-2018-20189
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.