CVE-2021-20176

Summary

CVECVE-2021-20176
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-02-06 00:15:00 UTC
Updated2023-05-22 02:15:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-369

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 9.0 All All All
Application Imagemagick Imagemagick All All All All
Application Imagemagick Imagemagick All All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 3429-1] imagemagick security update MLIST lists.debian.org
1916610 – (CVE-2021-20176) CVE-2021-20176 ImageMagick: processing crafted file leads to division by zero MISC bugzilla.redhat.com
[SECURITY] [DLA 2602-1] imagemagick security update MLIST lists.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178502 Debian Security Update for imagemagick (DLA 2602-1)
  • 180221 Debian Security Update for imagemagick (CVE-2021-20176)
  • 181795 Debian Security Update for imagemagick (DLA 3429-1)
  • 198406 Ubuntu Security Notification for ImageMagick vulnerabilities (USN-4988-1)
  • 296067 Oracle Solaris 11.4 Support Repository Update (SRU) 33.94.0 Missing (CPUAPR2021)
  • 354324 Amazon Linux Security Advisory for ImageMagick : ALAS2022-2022-164
  • 354383 Amazon Linux Security Advisory for ImageMagick : ALAS2022-2022-141
  • 501582 Alpine Linux Security Update for imagemagick
  • 502534 Alpine Linux Security Update for imagemagick
  • 670275 EulerOS Security Update for ImageMagick (EulerOS-SA-2021-1802)
  • 670322 EulerOS Security Update for ImageMagick (EulerOS-SA-2021-1902)
  • 670348 EulerOS Security Update for ImageMagick (EulerOS-SA-2021-1876)
  • 670627 EulerOS Security Update for ImageMagick (EulerOS-SA-2021-2385)
  • 690137 Free Berkeley Software Distribution (FreeBSD) Security Update for imagemagick6 (3e0ca488-b3f6-11eb-a5f7-a0f3c100ae18)
  • 690139 Free Berkeley Software Distribution (FreeBSD) Security Update for imagemagick7 (a7c60af1-b3f1-11eb-a5f7-a0f3c100ae18)
  • 751504 OpenSUSE Security Update for ImageMagick (openSUSE-SU-2021:1583-1)
  • 751514 OpenSUSE Security Update for ImageMagick (openSUSE-SU-2021:3996-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report