Vulnerability · Published Feb 5, 2021 · Assigned by redhat

CVE-2021-20176

Medium 5.5

In plain English

A medium-severity security flaw in ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.9%top 39.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

A divide-by-zero flaw was found in ImageMagick 6.9.11-57 and 7.0.10-57 in gem.c. This flaw allows an attacker who submits a crafted file that is processed by ImageMagick to trigger undefined behavior through a division by zero. The highest threat from this vulnerability is to system availability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20imagemagick7.0.10.57-r0ALPINE-CVE-2021-20176
Alpine:v3.21imagemagick7.0.10.57-r0ALPINE-CVE-2021-20176
Alpine:v3.22imagemagick7.0.10.57-r0ALPINE-CVE-2021-20176
Alpine:v3.23imagemagick7.0.10.57-r0ALPINE-CVE-2021-20176
Alpine:v3.24imagemagick7.0.10.57-r0ALPINE-CVE-2021-20176
Debian:12imagemagick8:6.9.11.57+dfsg-1DEBIAN-CVE-2021-20176
Debian:13imagemagick8:6.9.11.57+dfsg-1DEBIAN-CVE-2021-20176
Debian:14imagemagick8:6.9.11.57+dfsg-1DEBIAN-CVE-2021-20176

Affected products (as reported)

VendorProductVersions
n/a ImageMagick 6.9.11-57, 7.0.10-57

Weakness: CWE-369

References