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: 9.3 [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]
CVE-ID: CVE-2017-13139
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

ImageMagick
Amazon Linux AMI
ImageMagick

How to mitigate CVE-2017-13139

Install update from vendor's website.

ImageMagick - update to 6.9.10.68-3.22

External References

Related Security Bulletins