ImageMagick: Denial of service in ReadOnePNGImage function in coders/png.c
Published Aug 23, 2017
6.5
MEDIUMCVSS 3.0
EPSS 1.51%
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.
Affected products
No data.
- ≤ 6.9.9-0
- 7.0.0-0
- 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.1-8
- 7.0.1-9
- 7.0.1-10
- 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.2-8
- 7.0.2-9
- 7.0.2-10
- 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.3-8
- 7.0.3-9
- 7.0.3-10
- 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.4-8
- 7.0.4-9
- 7.0.4-10
- 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.5-8
- 7.0.5-10
- 7.0.6-0
- 7.0.6-1
No data.
Red Hat Enterprise Linux 5
ImageMagick
Will not fix
Red Hat Enterprise Linux 6
ImageMagick
Will not fix
Red Hat Enterprise Linux 7
ImageMagick
Will not fix
Red Hat OpenShift Enterprise 2
ImageMagick
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | ImageMagick | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | ImageMagick | Will not fix | n/a |
| Red Hat OpenShift Enterprise 2 | ImageMagick | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.51% (0.01514) | 73.57th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.51% (0.01514) | 71.11th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.41% (0.00414) | 59.50th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.28% (0.00284) | 69.54th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.28% (0.00284) | 67.80th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.28% (0.00284) | 64.66th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.28% (0.00278) | 63.32th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.21% (0.01213) | 66.61th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.21% (0.01213) | 40.54th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.62% (0.01623) | 33.90th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.62% (0.01623) | 0.00th | v1 |
References (8)
- https://access.redhat.com/security/cve/CVE-2017-13140 Vendor Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870111 x_refsource_CONFIRMExploitPatchThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1486792 Issue Tracking
- https://github.com/ImageMagick/ImageMagick/issues/596 x_refsource_CONFIRMExploitPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-13140
- https://security.gentoo.org/glsa/201711-07 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2017-13140
- https://www.debian.org/security/2017/dsa-4019 vendor-advisoryx_refsource_DEBIAN
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2017-13140 | Vendor Advisory | |
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870111 | x_refsource_CONFIRMExploitPatchThird Party Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1486792 | Issue Tracking | |
| https://github.com/ImageMagick/ImageMagick/issues/596 | x_refsource_CONFIRMExploitPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-13140 | ||
| https://security.gentoo.org/glsa/201711-07 | vendor-advisoryx_refsource_GENTOO | |
| https://www.cve.org/CVERecord?id=CVE-2017-13140 | ||
| https://www.debian.org/security/2017/dsa-4019 | vendor-advisoryx_refsource_DEBIAN |
Change history (0)
No recorded changes yet.