Improper input validation in GraphicsMagick - CVE-2018-20189

 

Improper input validation in GraphicsMagick - CVE-2018-20189

Published: December 17, 2018 / Updated: June 17, 2019


Vulnerability identifier: #VU16585
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-20189
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GraphicsMagick Group
Affected software:
GraphicsMagick

Detailed vulnerability description

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The vulnerability exists due to an error in the ReadDIBImage function of coders/dib.c when processing malicious input in DIB reader. A remote attacker can cause the service to crash via a dib file that is crafted to appear with direct pixel values and also colormapping (which is not available beyond 8-bits/sample), and therefore lacks indexes initialization.


How to mitigate CVE-2018-20189

Install update from vendor's website.

Sources