Medium severity · published Aug 23, 2017
CVE-2017-13140
In ImageMagick before 6.9.9-1 and 7.x before 7.0.6-2, the ReadOnePNGImage function in coders/png.c allows remote attackers to cause a denial of service (application hang in…
6.5
CVSS
1.5%
EPSS
No
On KEV
Description
In ImageMagick before 6.9.9-1 and 7.x before 7.0.6-2, the ReadOnePNGImage function in coders/png.c allows remote attackers to cause a denial of service (application hang in LockSemaphoreInfo) via a PNG file with a width equal to MAGICK_WIDTH_LIMIT.
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.5% · higher than 74% 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-13140
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-13140
Exploit
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870111
Exploit
https://github.com/ImageMagick/ImageMagick/issues/596
security.gentoo.org
https://security.gentoo.org/glsa/201711-07
www.debian.org
https://www.debian.org/security/2017/dsa-4019
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"
