cve.bz

CVE-2018-20189 Improper Input Validation

6.5 mediumExploit referenceEPSS 2.3%Fix available

Medium (6.5). EPSS 2.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

6.5 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-20189 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20189?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20189?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-20189 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
graphicsmagick:graphicsmagick1.3.31
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8graphicsmagick1.3.20-3+deb8u5DLA-1619-1
Debian12, 13, 14graphicsmagick1.4~hg15873-1DEBIAN-CVE-2018-20189
Ubuntu18.04:LTSgraphicsmagick1.3.28-2ubuntu0.1UBUNTU-CVE-2018-20189 USN-4207-1
Ubuntu20.04:LTSgraphicsmagick1.4+really1.3.35-1ubuntu0.1USN-5974-1
UbuntuPro:14.04:LTSgraphicsmagick1.3.18-1ubuntu3.1+esm8UBUNTU-CVE-2018-20189 USN-5974-1
UbuntuPro:16.04:LTSgraphicsmagick1.3.23-1ubuntu0.6+esm2UBUNTU-CVE-2018-20189 USN-5974-1
UbuntuPro:18.04:LTSgraphicsmagick1.3.28-2ubuntu0.2+esm1USN-5974-1
SUSEPackage Hub 15GraphicsMagick1.3.29-bp150.2.12.1openSUSE-SU-2019:0003-1
Alpinev3.10, v3.11, v3.12 and 12 moregraphicsmagick1.3.32-r0ALPINE-CVE-2018-20189

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · Alpine.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON