CVE-2020-27762
ImageMagick vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2020-27762) was discovered in ImageMagick's coders/hdr.c component. The flaw affects ImageMagick versions prior to 7.0.8-68, where an attacker could trigger undefined behavior by submitting a crafted file that would result in values outside the range of type 'unsigned char' (NVD, Ubuntu Security).

Technical details

The vulnerability has a CVSS v3.1 Base Score of 5.5 (Medium) with the following vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. The flaw specifically occurs in the WriteHDRImage() function in coders/hdr.c where the code could attempt to set unsigned chars to values outside of their valid range, depending on pixel color values (Red Hat Bugzilla).

Impact

The primary impact of this vulnerability is to application availability, potentially leading to a denial of service condition. While there could be other unspecified impacts related to undefined behavior, no specific additional impacts were demonstrated (Red Hat Bugzilla, NVD).

Exploitability

The vulnerability requires local access and user interaction to exploit. An attacker would need to submit a specially crafted file that would be processed by ImageMagick to trigger the undefined behavior (Ubuntu Security).

Mitigation and workarounds

The vulnerability was fixed in ImageMagick version 7.0.8-68. The patch adds checks for values greater than 0 to ensure that unsigned char values remain within their valid range. Various Linux distributions have also released security updates to address this vulnerability (Red Hat Bugzilla, Debian LTS).

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#
  • ImageMagick-djvu
NoYesJul 30, 2026
CVE-2026-66011MEDIUM4.8
  • ImageMagick logoImageMagick
  • ImageMagick
NoYesJul 25, 2026
CVE-2026-62946MEDIUM4.7
  • C# logoC#
  • ImageMagick.src
NoYesJul 30, 2026
CVE-2026-62343MEDIUM4.7
  • C# logoC#
  • Magick.NET-Q8-OpenMP-x64
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