Skip to content
Fencer Vulns
medium 6.5

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 products
    not 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-08).

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

Sources

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.