Heap-based buffer overread in GraphicsMagick - CVE-2017-14733

 

Heap-based buffer overread in GraphicsMagick - CVE-2017-14733

Published: December 27, 2017


Vulnerability identifier: #VU9808
CSH Severity: Low
CVSS v4: 6.9 [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]
CVE-ID: CVE-2017-14733
CWE-ID: CWE-126
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The weakness exists due to ReadRLEImage in coders/rle.c mishandles RLE headers that specify too few colors. A remote attacker can provide a specially crafted RLE document, trigger heap-based buffer over-read and cause the application to crash.

Successful exploitation of the vulnerability results in denial of service.

Affected software

GraphicsMagick
graphicsmagick (Alpine package)
GraphicsMagick
Fedora
SUSE Linux
Opensuse

How to mitigate CVE-2017-14733

Install update from vendor's website.

graphicsmagick (Alpine package) - update to 1.3.27-r0
GraphicsMagick - addressed in versions 1.3.32-1.fc29, 1.3.32-1.fc30, 1.3.34-1.el7, 1.3.34-1.el8

External References

Related Security Bulletins