CVE-2017-13140 Denial of service in n/a
Remote attackers can cause a denial of service in ImageMagick by submitting a specially crafted PNG file that triggers an application hang.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-13140?
CVE-2017-13140 is a medium-severity denial of service vulnerability in Imagemagick Imagemagick, published on 23 Aug 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2017-13140?
It affects 1 product.
Products include Imagemagick Imagemagick.
How do I fix CVE-2017-13140?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2017-13140 being exploited?
There is no known exploitation of CVE-2017-13140 in the wild and no public exploit code.
Other vulnerabilities in Imagemagick Imagemagick
Sources
Also known as DEBIAN-CVE-2017-13140, GHSA-9gg7-975h-6rcg.