VDB

CVE-2021-20176

CVE-2021-20176 PUBLISHED

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.

PackageEcosystemFixed in
imagemagickAlpine7.0.10.57-r0
imagemagickUbuntu:18.04:LTS8:6.9.7.4+dfsg-16ubuntu6.11

Affected products

VendorProductVersions
n/aImageMagick6.9.11-57, 7.0.10-57
n/aImageMagick6.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›