CVE-2020-27755 Denial of service in ImageMagick
A crafted image file can trigger a memory leak in ImageMagick, leading to denial of service by exhausting system resources.
- 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-27755?
CVE-2020-27755 is a low-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
in SetImageExtent() of /MagickCore/image.c, an incorrect image depth size can cause a memory leak because the code which checks for the proper image depth size does not reset the size in the event there is an invalid size. The patch resets the depth to a proper size before throwing an exception. The memory leak can be triggered by a crafted input file that is processed by ImageMagick and could cause an impact to application reliability, such as denial of service. This flaw affects ImageMagick versions prior to 7.0.9-0.
Weakness: CWE-401
Which versions are affected by CVE-2020-27755?
It affects 1 product.
Products include Imagemagick Imagemagick.
How do I fix CVE-2020-27755?
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-27755 being exploited?
There is no known exploitation of CVE-2020-27755 in the wild and no public exploit code.
Other vulnerabilities in Imagemagick Imagemagick
Sources
Also known as CLSA-2024-1731524667, DEBIAN-CVE-2020-27755, GHSA-v7xj-x69j-92c7, JLSEC-2026-853, UBUNTU-CVE-2020-27755.