Buffer overflow in Imagemagick

CVE-2017-13140

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.

Vulnerability class: Buffer Overflow

EPSS: 0.015 (71.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

  • Imagemagick — versions 7.0.0-0, 7.0.1-0, 7.0.1-1
  • N/a — versions n/a

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2017-13140?
CVE-2017-13140 is a medium-severity vulnerability in Imagemagick, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 6.5/10. Published 2017-08-23.
How severe is CVE-2017-13140?
Medium severity. CVSS v3 base score is 6.5 out of 10.