Vulnerability in Imagemagick

CVE-2017-14172

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.

EPSS: 0.022 (80.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
  • cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_GENTOO)
  • cve@mitre.org (x_refsource_CONFIRM, Exploit, Patch, Third Party Advisory, Issue Tracking)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, Third Party Advisory)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, Third Party Advisory)
  • cve@mitre.org (x_refsource_CONFIRM, Patch, Vendor Advisory)

Frequently asked questions

What is CVE-2017-14172?
CVE-2017-14172 is a medium-severity vulnerability in Imagemagick, classified under Excessive Iteration. CVSS score: 6.5/10. Published 2017-09-07.
How severe is CVE-2017-14172?
Medium severity. CVSS v3 base score is 6.5 out of 10.