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: 6.7 [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]
CVE-ID: CVE-2017-6335
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

GraphicsMagick
Amazon Linux AMI
Fedora
graphicsmagick (Alpine package)
GraphicsMagick

How to mitigate CVE-2017-6335

Update to version 1.3.26.

GraphicsMagick - update to 1.3.26
GraphicsMagick - addressed in versions 1.3.25-6.el6, 1.3.25-6.el7, 1.3.25-6.fc24, 1.3.25-6.fc25

External References

Related Security Bulletins