CVE-2020-27753 Denial of service in ImageMagick
Attackers can cause denial of service via memory leaks in the MIFF coder by providing a specially crafted image file to applications using ImageMagick.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-27753?
CVE-2020-27753 is a medium-severity denial of service vulnerability in Imagemagick Imagemagick, published on 8 Dec 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
There are several memory leaks in the MIFF coder in /coders/miff.c due to improper image depth values, which can be triggered by a specially crafted input file. These leaks could potentially lead to an impact to application availability or cause a denial of service. It was originally reported that the issues were in `AcquireMagickMemory()` because that is where LeakSanitizer detected the leaks, but the patch resolves issues in the MIFF coder, which incorrectly handles data being passed to `AcquireMagickMemory()`. This flaw affects ImageMagick versions prior to 7.0.9-0.
Weakness: CWE-401
Which versions are affected by CVE-2020-27753?
It affects 1 product.
Products include Imagemagick Imagemagick.
How do I fix CVE-2020-27753?
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-2020-27753 being exploited?
There is no known exploitation of CVE-2020-27753 in the wild and no public exploit code.
Other vulnerabilities in Imagemagick Imagemagick
Sources
Also known as DEBIAN-CVE-2020-27753, GHSA-m43q-5c9p-x5fh, JLSEC-2026-851, UBUNTU-CVE-2020-27753.