CVE-2017-13140: ImageMagick - Denial of Service
- Cve: CVE-2017-13140
- Name: ImageMagick - Denial of Service
- 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.
- Impact: Remote attackers can cause application hang, leading to denial of service and potential system unavailability.
- Remediation: Update to version 6.9.9-1 or 7.0.6-2 or later versions.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.01514
- Epss percentile: 0.75164
- Assignee: [email protected]
- Published at: 2017-08-23T06:29:00Z
- Age in days: 3380
- Modified at: 2026-06-17T01:04:36Z
- Patch available: yes
- Public exploits total: 2
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-13140
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870111 | nvd | 2017-08-23 |
| https://github.com/ImageMagick/ImageMagick/issues/596 | nvd | 2017-08-23 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870111 | Exploit, Patch, Third Party Advisory |
| https://github.com/ImageMagick/ImageMagick/issues/596 | Exploit, Patch, Third Party Advisory |
| https://security.gentoo.org/glsa/201711-07 | |
| https://www.debian.org/security/2017/dsa-4019 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| imagemagick:imagemagick | = 7.0.1-10, = 7.0.2-10, = 7.0.3-10, = 7.0.4-10, = 7.0.5-10, = 7.0.1-9, = 7.0.2-9, = 7.0.3-9, = 7.0.4-9, = 7.0.1-8, = 7.0.2-8, = 7.0.3-8, = 7.0.4-8, = 7.0.5-8, = 7.0.6-0, = 7.0.6-1, = 7.0.5-0, = 7.0.5-1, = 7.0.5-2, = 7.0.5-3, = 7.0.5-4, = 7.0.5-5, = 7.0.5-6, = 7.0.5-7, = 7.0.4-0, = 7.0.4-1, = 7.0.4-2, = 7.0.4-3, = 7.0.4-4, = 7.0.4-5, = 7.0.4-6, = 7.0.4-7, = 7.0.3-0, = 7.0.3-1, = 7.0.3-2, = 7.0.3-3, = 7.0.3-4, = 7.0.3-5, = 7.0.3-6, = 7.0.3-7, = 7.0.2-0, = 7.0.2-1, = 7.0.2-2, = 7.0.2-3, = 7.0.2-4, = 7.0.2-5, = 7.0.2-6, = 7.0.2-7, = 7.0.1-0, = 7.0.1-1, = 7.0.1-2, = 7.0.1-3, = 7.0.1-4, = 7.0.1-5, = 7.0.1-6, = 7.0.1-7, = 7.0.0-0, <= 6.9.9-0 | no | nvd | /v1/products/imagemagick/imagemagick |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ImageMagick/ImageMagick | issues | yes | /v1/repositories/ImageMagick/ImageMagick |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2017-08-23
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts