What’s Vulnerable › Vulnerabilities
CVE-2020-27755
- Severity: low (CVSS 3.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-12-08 · updated 2026-06-17
- Weakness: CWE-401
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.
Affected products
- ImageMagick: before 6.9.10-69; from 7.0.0-0 before 7.0.9-0 — fixed in 6.9.10-69, 7.0.9-0
How to fix
Upgrade to a fixed version: ImageMagick 6.9.10-69, 7.0.9-0. Check the vendor advisory for mitigations.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1894232
- https://bugzilla.redhat.com/show_bug.cgi?id=1894232
Get alerted when CVE-2020-27755 or the next vulnerability affects your stack