CVE-2018-20185 json
In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over-read in the ReadBMPImage function of bmp.…
published 2018-12-17 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-12752
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over-read in the ReadBMPImage function of bmp.c, which allows attackers to cause a denial of service via a crafted bmp image file. This only affects GraphicsMagick installations with customized BMP limits.
Patch / fix
- graphicsmagick Debian 14, Debian 13, Debian 12 1.4~hg15880-1
debian advisories DEBIAN-CVE-2018-20185
- graphicsmagick Ubuntu 18.04 LTS 1.3.28-2ubuntu0.1
ubuntu advisories UBUNTU-CVE-2018-20185
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.78.1
suse advisories SUSE-SU-2019:13923-1
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-20185 updated cvss 3.3
GraphicsMagick: heap-based buffer over-read in the ReadBMPImage function of bmp.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
2.11% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- sourceforge.net https://sourceforge.net/p/graphicsmagick/bugs/582/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 2.6 | AV:N/AC:H/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
hg.graphicsmagick.org
/hg/GraphicsMagick/rev/648e3977a293
patch, vendor-advisory
-
sourceforge.net
/p/graphicsmagick/bugs/582/
exploit, third-party-advisory
-
usn.ubuntu.com
/4207-1/
vendor-advisory, third-party-advisory
-
debian.org
/security/2020/dsa-4640
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/106229
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-20185
- NVD CVE-2018-20185
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.