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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20309 |
| Alpine:v3.21 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20309 |
| Alpine:v3.22 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20309 |
| Alpine:v3.23 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20309 |
| Alpine:v3.24 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20309 |
| Debian:12 | imagemagick | 8:6.9.11.60+dfsg-1.5 | DEBIAN-CVE-2021-20309 |
| Debian:13 | imagemagick | 8:6.9.11.60+dfsg-1.5 | DEBIAN-CVE-2021-20309 |
| Debian:14 | imagemagick | 8:6.9.11.60+dfsg-1.5 | DEBIAN-CVE-2021-20309 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | ImagemMagick | ImageMagick 7.0.11, ImageMagick 6.9.12 |
Weakness: CWE-369