PT-2018-3481 · Graphicsmagick+3 · Graphicsmagick+3

Augustus Wang

·

Published

2018-12-17

·

Updated

2023-03-27

·

CVE-2018-20189

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: GraphicsMagick version 1.3.31
Description: The issue is related to the ReadDIBImage function in GraphicsMagick, which lacks proper input validation. This can be exploited by a remote attacker using a specially crafted dib file, potentially leading to a crash and denial of service. The vulnerability is triggered when a dib file appears to have direct pixel values and colormapping, which is not supported beyond 8-bits/sample, resulting in uninitialized indexes.
Recommendations: For GraphicsMagick version 1.3.31, consider disabling the ReadDIBImage function in coders/dib.c as a temporary workaround to minimize the risk of exploitation. Restrict access to dib files to prevent potential attacks until a patch is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

RCE

Weakness Enumeration

Related Identifiers

BDU:2020-01907
CVE-2018-20189
DLA-1619-1
DSA-4640-1
MGASA-2019-0033
OPENSUSE-SU-2018_4313-1
OPENSUSE-SU-2019:0003-1
OPENSUSE-SU-2019:1-1
OPENSUSE-SU-2019_1-1
USN-4207-1
USN-5974-1

Affected Products

Graphicsmagick
Linuxmint
Suse
Ubuntu