Out-of-bounds read in GraphicsMagick and Debian Linux - CVE-2017-17915

 

Out-of-bounds read in GraphicsMagick and Debian Linux - CVE-2017-17915

Published: December 27, 2017 / Updated: December 27, 2022


Vulnerability identifier: #VU37725
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-17915
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to heap-based buffer over-read in ReadMNGImage in coders/png.c, related to accessing one byte before testing whether a limit has been reached. A remote attacker can perform a denial of service attack.


Affected software

GraphicsMagick
Debian Linux
Amazon Linux AMI
Fedora
GraphicsMagick

How to mitigate CVE-2017-17915

Install update from vendor's website.

GraphicsMagick - addressed in versions 1.3.28-1.el6, 1.3.28-1.el7, 1.3.28-1.fc26, 1.3.28-1.fc27

External References

Related Security Bulletins