Input validation error in GraphicsMagick - CVE-2017-13147

 

Input validation error in GraphicsMagick - CVE-2017-13147

Published: August 23, 2017 / Updated: August 3, 2020


Vulnerability identifier: #VU33200
CSH Severity: High
CVSS v4.0: 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/E:U/U:Amber
CVE-ID: CVE-2017-13147
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GraphicsMagick Group
Affected software:
GraphicsMagick

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function ReadMNGImage in coders/png.c when a small MNG file has a MEND chunk with a large length value.


How to mitigate CVE-2017-13147

Install update from vendor's website.

Sources