CVE-2018-20184: GraphicsMagick - Buffer Overflow
- Cve: CVE-2018-20184
- Name: GraphicsMagick - Buffer Overflow
- Description: 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.
- Impact: Attackers can cause denial of service by crashing the application through crafted TGA images.
- Remediation: Update to the latest version of GraphicsMagick that addresses this vulnerability or apply patches if available.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.02307
- Epss percentile: 0.83792
- Assignee: [email protected]
- Published at: 2018-12-17T19:29:03Z
- Age in days: 2899
- Modified at: 2026-06-17T01:52:25Z
- Patch available: yes
- Public exploits total: 1
- References total: 6
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-20184
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://sourceforge.net/p/graphicsmagick/bugs/583/ | nvd | 2018-12-17 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/15d1b5fd003b | Patch, Vendor Advisory |
| https://sourceforge.net/p/graphicsmagick/bugs/583/ | Exploit, Third Party Advisory |
| http://www.securityfocus.com/bid/106229 | Third Party Advisory, VDB Entry |
| https://lists.debian.org/debian-lts-announce/2018/12/msg00018.html | Mailing List, Third Party Advisory |
| https://usn.ubuntu.com/4207-1/ | |
| https://www.debian.org/security/2020/dsa-4640 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| graphicsmagick:graphicsmagick | = 1.4 | no | nvd | /v1/products/graphicsmagick/graphicsmagick |
| debian:debian_linux | = 8.0 | no | nvd | /v1/products/debian/debian_linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-12-17
- Remote: yes
- Exposed hosts: 4706702
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports