CVEvulnerability
CVE-2017-14172
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2017-09-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 7.1 HIGH — AV:N/AC:M/Au:N/C:N/I:N/A:C
- Weaknesses
- CWE-834
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 configurations
• imagemagick imagemagick 7.0.7-0
• canonical ubuntu linux 14.04
• canonical ubuntu linux 16.04
• canonical ubuntu linux 17.10
• canonical ubuntu linux 18.04
• debian debian linux 8.0
• debian debian linux 9.0
Related
Weakness · CWE (1)
- CWE-834 Excessive Iteration weakness
References
- https://github.com/ImageMagick/ImageMagick/commit/bdbbb13f1fe9b7e2465502c500561720f7456aac Patch, Vendor Advisory
- https://github.com/ImageMagick/ImageMagick/issues/715 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html Third Party Advisory
- https://security.gentoo.org/glsa/201711-07 Third Party Advisory
- https://usn.ubuntu.com/3681-1/ Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/commit/bdbbb13f1fe9b7e2465502c500561720f7456aac Patch, Vendor Advisory
- https://github.com/ImageMagick/ImageMagick/issues/715 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html Third Party Advisory
- https://security.gentoo.org/glsa/201711-07 Third Party Advisory
- https://usn.ubuntu.com/3681-1/ Third Party Advisory