ImageMagick: Lack of an EOF check in ReadPSImage() function
Published Sep 7, 2017
6.5
MEDIUMCVSS 3.1
EPSS 2.19%
Description
In coders/ps.c in ImageMagick 7.0.7-0 Q16, a DoS in ReadPSImage() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted PSD file, which claims a large "extent" field in the header but does not contain sufficient backing data, is provided, the loop over "length" would consume huge CPU resources, since there is no EOF check inside the loop.
Affected products
No data.
Configuration 1
- 7.0.7-0
Configuration 2
- 14.04
- 16.04
- 17.10
- 18.04
- 8.0
- 9.0
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
| 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 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
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:C
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 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 2.19% (0.02191) | 81.80th | v5 (v2026.06.15) |
| Sep 20, 2026 | 2.19% (0.02191) | 81.64th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.50% (0.00498) | 76.51th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.50% (0.00498) | 75.58th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.50% (0.00498) | 73.32th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.38% (0.00384) | 68.86th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.11% (0.01108) | 29.61th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.45% (0.01454) | 32.67th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.45% (0.01454) | 0.00th | v1 |
References (10)
- https://access.redhat.com/security/cve/CVE-2017-14172 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1489700 Issue Tracking
- https://github.com/ImageMagick/ImageMagick/commit/bdbbb13f1fe9b7e2465502c500561720f7456aac x_refsource_CONFIRMPatchVendor Advisory
- https://github.com/ImageMagick/ImageMagick/issues/715 x_refsource_CONFIRMExploitIssue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html mailing-listx_refsource_MLISTThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html mailing-listx_refsource_MLISTThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-14172
- https://security.gentoo.org/glsa/201711-07 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://usn.ubuntu.com/3681-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-14172
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2017-14172 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1489700 | Issue Tracking | |
| https://github.com/ImageMagick/ImageMagick/commit/bdbbb13f1fe9b7e2465502c500561720f7456aac | x_refsource_CONFIRMPatchVendor Advisory | |
| https://github.com/ImageMagick/ImageMagick/issues/715 | x_refsource_CONFIRMExploitIssue TrackingPatchThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html | mailing-listx_refsource_MLISTThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html | mailing-listx_refsource_MLISTThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-14172 | ||
| https://security.gentoo.org/glsa/201711-07 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://usn.ubuntu.com/3681-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2017-14172 |
Change history (0)
No recorded changes yet.