Out-of-bounds read in GraphicsMagick - CVE-2017-6335

 

Out-of-bounds read in GraphicsMagick - CVE-2017-6335

Published: March 14, 2017 / Updated: August 3, 2020


Vulnerability identifier: #VU33214
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2017-6335
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: GraphicsMagick Group
Affected software:
GraphicsMagick

Detailed vulnerability description

The vulnerability allows a remote attacker to gain access to perform denial of service (DoS) attack.

The vulnerability exists due to a boundary condition within the coders/tiff.c function in GraphicsMagick 1.3.25 and earlier allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a small samples per pixel value file. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger out-of-bounds read error and crash the affected application.


How to mitigate CVE-2017-6335

Update to version 1.3.26.

Sources