What’s Vulnerable › Vulnerabilities
CVE-2021-20176
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-02-06 · updated 2026-06-17
- Weakness: CWE-369
Description
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.
Affected products
- Debian Linux: 9.0
- ImageMagick: before 6.9.11-57; from 7.0.0-0 before 7.0.10-56 — fixed in 6.9.11-57, 7.0.10-56
How to fix
Upgrade to a fixed version: ImageMagick 6.9.11-57, 7.0.10-56. Check the vendor advisory for mitigations.
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://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
Get alerted when CVE-2021-20176 or the next vulnerability affects your stack