CVE & CISA-KEV Catalog

CVE-2020-27756

MEDIUM
5.5
CVSS v3
NVD

Description

In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can lead to divide-by-zero conditions which also lead to undefined behavior. This flaw can be triggered by a crafted input file processed by ImageMagick and could impact application availability. The patch uses multiplication in addition to the function `PerceptibleReciprocal()` in order to prevent such divide-by-zero conditions. This flaw affects ImageMagick versions prior to 7.0.9-0.

How to fix

Remediation Available
imagemagickDebian
Fixed in:8:6.9.11.24+dfsg-1CVE-2020-27756
Fixed in:8:6.9.11.24+dfsg-1CVE-2020-27756
Fixed in:8:6.9.11.24+dfsg-1CVE-2020-27756
Fixed in:8:6.9.11.24+dfsg-1CVE-2020-27756
imagemagickUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.11USN-4988-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.4USN-4988-1
imagemagick-6.q16Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.11USN-4988-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.4USN-4988-1
libmagick++-6.q16-7Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.11USN-4988-1
libmagick++-6.q16-8Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.4USN-4988-1
libmagickcore-6.q16-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.11USN-4988-1
libmagickcore-6.q16-3-extraUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.11USN-4988-1
libmagickcore-6.q16-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.4USN-4988-1
libmagickcore-6.q16-6-extraUbuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.4USN-4988-1
ImageMagick Q16Windows application
Affected:7.0.0-0 7.0.9-0Fixed in:7.0.9-0ImageMagick Studio LLC
Affected:6.9.9-34 6.9.10-69Fixed in:6.9.10-69ImageMagick Studio LLC
ImageMagick Q16-HDRIWindows application
Affected:6.9.9-34 6.9.10-69Fixed in:6.9.10-69ImageMagick Studio LLC
Affected:7.0.0-0 7.0.9-0Fixed in:7.0.9-0ImageMagick Studio LLC

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploit Intelligence

0.83%probability of exploitation in 30 days
53rdpercentile

Moderate risk: more likely to be exploited than 53% of all known CVEs.

References

Related Vulnerabilities

Other CWE-369 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2012-0207High7.520%-Fix
CVE-2017-8537Medium5.517%--
CVE-2017-8536Medium5.517%--
CVE-2017-8535Medium5.517%--
CVE-2007-2237Medium5.515%--
CVE-2025-0317High7.513%--
Embed a live status badge for CVE-2020-27756
CVE-2020-27756 severity badge

Markdown

[![CVE-2020-27756](https://tridentstack.com/cve/badge/CVE-2020-27756.svg)](https://tridentstack.com/cve/CVE-2020-27756)

HTML

<a href="https://tridentstack.com/cve/CVE-2020-27756"><img src="https://tridentstack.com/cve/badge/CVE-2020-27756.svg" alt="CVE-2020-27756"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.