All vulnerabilities

Servers and applications

CVE-2021-20176

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.

Severity
Medium 5.5
Published
6 Feb 2021
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
6.9.11-57, 7.0.10-56
Sources
NVD

Affected software

SoftwareAffected versions
ImageMagickServers and applications · cpe:a:imagemagick:imagemagick
  • Every version before 6.9.11-57
  • From 7.0.0-0 before 7.0.10-56

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-20176
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-20176