CVE-2018-20184Out-of-bounds Write in Graphicsmagick

CWE-787Out-of-bounds Write11 documents6 sources
Severity
6.5MEDIUMNVD
EPSS
0.7%
top 27.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 17
Latest updateMar 27

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 2.8 | Impact: 3.6

Affected Packages4 packages

debiandebian/graphicsmagick< graphicsmagick 1.4~hg15873-1 (bookworm)
Debiangraphicsmagick/graphicsmagick< 1.4~hg15873-1+3
Ubuntugraphicsmagick/graphicsmagick< 1.4+really1.3.35-1ubuntu0.1+3

Also affects: Debian Linux 8.0

Patches

🔴Vulnerability Details

3
OSV
graphicsmagick vulnerabilities2023-03-27
GHSA
GHSA-33vc-mr28-327x: In GraphicsMagick 12022-05-13
OSV
CVE-2018-20184: In GraphicsMagick 12018-12-17

📋Vendor Advisories

3
Ubuntu
GraphicsMagick vulnerabilities2023-03-27
Ubuntu
GraphicsMagick vulnerabilities2019-12-03
Debian
CVE-2018-20184: graphicsmagick - In GraphicsMagick 1.4 snapshot-20181209 Q8, there is a heap-based buffer overflo...2018

💬Community

3
Bugzilla
CVE-2018-20184 GraphicsMagick: heap-based buffer overflow in the WriteTGAImage function of tga.c2018-12-21
Bugzilla
CVE-2018-20184 GraphicsMagick: heap-based buffer overflow in the WriteTGAImage function of tga.c [epel-all]2018-12-21
Bugzilla
CVE-2018-20184 GraphicsMagick: heap-based buffer overflow in the WriteTGAImage function of tga.c [fedora-all]2018-12-21