CVE-2020-27760
ImageMagick vulnerability analysis and mitigation

Overview

CVE-2020-27760 affects ImageMagick versions prior to 7.0.8-68. The vulnerability exists in the GammaImage() function of /MagickCore/enhance.c, where depending on the gamma value, it's possible to trigger a divide-by-zero condition when processing a crafted input file (Red Hat Bugzilla).

Technical details

The vulnerability is classified as a divide-by-zero issue in the GammaImage() function within MagickCore/enhance.c. The flaw received a CVSS v3.1 Base Score of 5.5 (MEDIUM) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. The issue was addressed by implementing the PerceptibleReciprocal() function to prevent the divide-by-zero condition from occurring (NVD).

Impact

When exploited, this vulnerability could lead to an impact on application availability through a denial of service condition when processing specially crafted image files (Red Hat Bugzilla).

Exploitability

The vulnerability requires a user or automated system to process a specially crafted image file. The attack requires local access and user interaction to exploit (NVD).

Mitigation and workarounds

The vulnerability was fixed in ImageMagick version 7.0.8-68. Users should upgrade to this version or later. Various Linux distributions have also released security updates to address this vulnerability, including Debian and Ubuntu (Debian LTS, Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related ImageMagick vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64685MEDIUM5.3
  • ImageMagick logoImageMagick
  • ImageMagick-c++
NoYesJul 30, 2026
CVE-2026-62363MEDIUM5
  • C# logoC#
  • seal-ImageMagick
NoYesJul 30, 2026
CVE-2026-66011MEDIUM4.8
  • ImageMagick logoImageMagick
  • perl-PerlMagick
NoYesJul 25, 2026
CVE-2026-62946MEDIUM4.7
  • C# logoC#
  • ImageMagick-config-7-upstream-open
NoYesJul 30, 2026
CVE-2026-62343MEDIUM4.7
  • C# logoC#
  • Magick.NET-Q8-OpenMP-arm64
NoYesJul 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management