CVE-2018-20184 json
In GraphicsMagick 1.4 snapshot-20181209 Q8, there is a heap-based buffer overflow in the WriteTGAImage function of tga.c, which allows atta…
published 2018-12-17 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-12751
- 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.4 snapshot-20181209 Q8, there is a heap-based buffer overflow in the WriteTGAImage function of tga.c, which allows attackers to cause a denial of service via a crafted image file, because the number of rows or columns can exceed the pixel-dimension restrictions of the TGA specification.
Patch / fix
- graphicsmagick Debian 14, Debian 13, Debian 12 1.4~hg15873-1
debian advisories DEBIAN-CVE-2018-20184
- 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-20184
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
- GraphicsMagick Package Hub 15 1.3.29-bp150.2.12.1
opensuse advisories openSUSE-SU-2019:0003-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-20184 updated cvss 3.3
GraphicsMagick: heap-based buffer overflow in the WriteTGAImage function of tga.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.31% 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/583/ 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-787 Out-of-bounds Write
References
-
hg.graphicsmagick.org
/hg/GraphicsMagick/rev/15d1b5fd003b
patch, vendor-advisory
-
sourceforge.net
/p/graphicsmagick/bugs/583/
exploit, third-party-advisory
-
usn.ubuntu.com
/4207-1/
vendor-advisory
-
debian.org
/security/2020/dsa-4640
vendor-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-20184
- NVD CVE-2018-20184
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.