Input validation error in GraphicsMagick - CVE-2017-16547

 

Input validation error in GraphicsMagick - CVE-2017-16547

Published: November 6, 2017 / Updated: August 3, 2020


Vulnerability identifier: #VU33206
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-16547
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.

The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.


How to mitigate CVE-2017-16547

Install update from vendor's website.

Sources