CVE-2021-20176
Reported by redhat · Published February 5, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| imagemagick | Alpine | 7.0.10.57-r0 |
| imagemagick | Ubuntu:18.04:LTS | 8:6.9.7.4+dfsg-16ubuntu6.11 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | ImageMagick | 6.9.11-57, 7.0.10-57 |
| n/a | ImageMagick | 6.9.11-57, 7.0.10-57 |
Timeline
- Feb 5, 2021 CVE Published
- Feb 6, 2021 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 7, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 7, 2026 Security Advisory (6 in total, the first dated here)
- Aug 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-20176
vulnetix vdb fixes CVE-2021-20176
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-20176/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart