Integer underflow in GraphicsMagick - CVE-2017-14997

 

Integer underflow in GraphicsMagick - CVE-2017-14997

Published: October 26, 2018 / Updated: October 29, 2018


Vulnerability identifier: #VU15556
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-14997
CWE-ID: CWE-191
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 vulnerability exists due to integer underflow condition in the ReadPICTImage function, as defined in the coders/pict.c source code. A remote attacker can trick the victim into accessing a malicious image file, trigger memory allocation failure, resulting in a DoS condition on the targeted system.


Affected software

GraphicsMagick
graphicsmagick (Alpine package)
GraphicsMagick
Fedora
Opensuse

How to mitigate CVE-2017-14997

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