Vulnerability · Published May 11, 2021 · Assigned by redhat

CVE-2021-20309

High 7.5

In plain English

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

Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.3%top 16.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

A flaw was found in ImageMagick in versions before 7.0.11 and before 6.9.12, where a division by zero in WaveImage() of MagickCore/visual-effects.c may trigger undefined behavior via a crafted image file submitted to an application using ImageMagick. The highest threat from this vulnerability is to system availability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20imagemagick7.0.11.1-r0ALPINE-CVE-2021-20309
Alpine:v3.21imagemagick7.0.11.1-r0ALPINE-CVE-2021-20309
Alpine:v3.22imagemagick7.0.11.1-r0ALPINE-CVE-2021-20309
Alpine:v3.23imagemagick7.0.11.1-r0ALPINE-CVE-2021-20309
Alpine:v3.24imagemagick7.0.11.1-r0ALPINE-CVE-2021-20309
Debian:12imagemagick8:6.9.11.60+dfsg-1.5DEBIAN-CVE-2021-20309
Debian:13imagemagick8:6.9.11.60+dfsg-1.5DEBIAN-CVE-2021-20309
Debian:14imagemagick8:6.9.11.60+dfsg-1.5DEBIAN-CVE-2021-20309

Affected products (as reported)

VendorProductVersions
n/a ImagemMagick ImageMagick 7.0.11, ImageMagick 6.9.12

Weakness: CWE-369

References