Out-of-bounds read in ImageMagick - CVE-2017-13139

 

Out-of-bounds read in ImageMagick - CVE-2017-13139

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


Vulnerability identifier: #VU38433
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-13139
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ImageMagick.org
Affected software:
ImageMagick

Detailed vulnerability description

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

In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png.c has an out-of-bounds read with the MNG CLIP chunk.


How to mitigate CVE-2017-13139

Install update from vendor's website.

Sources