5.5

CVE-2020-27756: imagemagick Divide By Zero

CVSS: 5.5v3.1MediumModified
AliasesUBUNTU-CVE-2020-27756DEBIAN-CVE-2020-27756
Published 08-12-2020Last modified 04-08-2024

Vulnerability summary

CVE-2020-27756 is a medium (CVSS 5.5) Divide By Zero vulnerability in imagemagick. EPSS estimates a 0.84% chance of exploitation in the next 30 days, higher than 57.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.84%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 6 · Related 5

Timeline

  1. 08-12-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.84%

Chance of exploitation in the next 30 days

Percentile

57%

Versus all other CVEs

30-day change

0.00 pp

From 0.84% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.84%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugzilla.redhat.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • imagemagick< 8:6.9.11.24+dfsg-1
Imagemagick1 product
  • imagemagick≥ 6.9.9-34, < 6.9.10-69 | ≥ 7.0.0-0, < 7.0.9-0
Ubuntu1 product
  • imagemagick< 8:6.9.10.23+dfsg-2.1ubuntu11.4

3 vendors · 3 products

References

6 links