# CVE-2021-20176

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-02-05 · Modified: 2024-08-03
- Aliases: SUSE-SU-2021:3996-1, UBUNTU-CVE-2021-20176, DEBIAN-CVE-2021-20176, openSUSE-SU-2021:1583-1, openSUSE-SU-2021:3996-1, ALPINE-CVE-2021-20176
- Record: https://cvemate.com/vulnerability/CVE-2021-20176 · JSON: https://cvemate.com/vulnerability/CVE-2021-20176/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.936%, percentile 62.017%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine imagemagick (Alpine Linux): ≥ 7.0.0-0, \< 7.0.10.57-r0 \| \< 7.0.10.57-r0
- debian imagemagick (Debian): \< 8:6.9.11.57+dfsg-1
- ubuntu imagemagick (Ubuntu): \< 8:6.7.7.10-6ubuntu3.13+esm12 \| \< 8:6.8.9.9-7ubuntu5.16+esm2 \| \< 8:6.9.7.4+dfsg-16ubuntu6.11 \| \< 8:6.9.10.23+dfsg-2.1ubuntu11.4
- debian debian\_linux: 9.0
- imagemagick imagemagick: \< 6.9.11-57 \| ≥ 7.0.0-0, \< 7.0.10-56
- opensuse ImageMagick&distro=openSUSE Leap 15.2 (openSUSE): \< 7.0.7.34-lp152.12.18.1
- opensuse ImageMagick&distro=openSUSE Leap 15.3 (openSUSE): \< 7.0.7.34-10.18.1
- suse ImageMagick&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP2 (SUSE Linux Enterprise): \< 7.0.7.34-10.18.1
- suse ImageMagick&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP3 (SUSE Linux Enterprise): \< 7.0.7.34-10.18.1
- suse ImageMagick&distro=SUSE Linux Enterprise Module for Development Tools 15 SP2 (SUSE Linux Enterprise): \< 7.0.7.34-10.18.1
- suse ImageMagick&distro=SUSE Linux Enterprise Module for Development Tools 15 SP3 (SUSE Linux Enterprise): \< 7.0.7.34-10.18.1

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1916610>
- <https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2023/05/msg00020.html>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20213996-1/>
- <https://bugzilla.suse.com/1181836>
- <https://www.suse.com/security/cve/CVE-2021-20176>
- <https://ubuntu.com/security/CVE-2021-20176>
- <https://ubuntu.com/security/notices/USN-4988-1>
- <https://ubuntu.com/security/notices/USN-5335-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-20176>
- <https://ubuntu.com/security/notices/USN-7164-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-20176>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/UJUC2DLRAUEA76AUONRX7RN5HCFF25LX/>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/LJDAKFUPFUQCL6CS2YBK2EAJXXFEXMKK/>
- <https://security.alpinelinux.org/vuln/CVE-2021-20176>

---

Data as of 2026-12-05T04:20:09.667Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
