Medium severity · published Aug 23, 2017
CVE-2017-13142
In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNG file could trigger a crash because there was an insufficient check for short files
6.5
CVSS
1.8%
EPSS
No
On KEV
Description
In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNG file could trigger a crash because there was an insufficient check for short files.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.8% · higher than 79% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
IM
Imagemagick · Imagemagick
through 6.9.9-0; 7.0.0-0; 7.0.1-0; 7.0.1-1; 7.0.1-2; 7.0.1-3; +34 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-13142
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-13142
Patch
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870105
Patch
https://github.com/ImageMagick/ImageMagick/commit/46e3aabbf8d59a1bdebdbb65acb9b9e0484577d3
Patch
https://github.com/ImageMagick/ImageMagick/commit/aa84944b405acebbeefe871d0f64969b9e9f31ac
lists.debian.org
https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html
security.gentoo.org
https://security.gentoo.org/glsa/201711-07
usn.ubuntu.com
https://usn.ubuntu.com/3681-1/
More from Imagemagick
8.4
CVE-2016-3714
ImageMagick Improper Input Validation Vulnerability
5.5
CVE-2016-3715
ImageMagick Arbitrary File Deletion Vulnerability
5.5
CVE-2016-3718
ImageMagick Server-Side Request Forgery (SSRF) Vulnerability
9.8
CVE-2026-25986
ImageMagick has a heap buffer overflow in YUV 4:2:2 decoder
9.8
CVE-2026-25983
ImageMagick has Use After Free in MSLStartElement in "coders/msl.c"
