Vulnerability · Published May 11, 2021 · Assigned by redhat
CVE-2021-20312
High 7.5
In plain English
A high-severity integer overflow in ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.4%top 16.0% 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 7.0.11, where an integer overflow in WriteTHUMBNAILImage of coders/thumbnail.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by 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-20312 |
| Alpine:v3.21 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20312 |
| Alpine:v3.22 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20312 |
| Alpine:v3.23 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20312 |
| Alpine:v3.24 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20312 |
| Debian:12 | imagemagick | 8:6.9.11.60+dfsg-1.5 | DEBIAN-CVE-2021-20312 |
| Debian:13 | imagemagick | 8:6.9.11.60+dfsg-1.5 | DEBIAN-CVE-2021-20312 |
| Debian:14 | imagemagick | 8:6.9.11.60+dfsg-1.5 | DEBIAN-CVE-2021-20312 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | ImageMagick | ImageMagick 7.0.11 |
Weakness: CWE-190