Skip to main content
No exploitation reportedFix available

CVE-2020-27766

No exploitation reported by the sources we read.

  • Published2020-12-04
  • Fixed in7.0.8-69 · 6.9.10-69
  • WeaknessCWE-190

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

A flaw was found in ImageMagick in MagickCore/statistic.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type `unsigned long`. This would most likely lead to an impact to application availability, but could potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.8-69.

Timeline

dates in UTC
  1. 2020-12-0415:15CVE publishedNVD

Versions per branch

NVD
Imagemagick
BranchAffectedFixed in
7.0≥ 7.0.0-0, < 7.0.8-697.0.8-69
6.9< 6.9.10-696.9.10-69
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • imagemagickUbuntu:Pro:16.04:LTSall versions · fixed in 8:6.8.9.9-7ubuntu5.16+esm2
  • imagemagickUbuntu:Pro:16.04:LTSall versions · fixed in 8:6.8.9.9-7ubuntu5.16+esm11
  • imagemagickUbuntu:Pro:14.04:LTSall versions · fixed in 8:6.7.7.10-6ubuntu3.13+esm11
  • imagemagickUbuntu:20.04:LTSall versions · fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.4
  • imagemagickUbuntu:18.04:LTSall versions · fixed in 8:6.9.7.4+dfsg-16ubuntu6.11
  • imagemagickTuxCare:Ubuntu:16.04all versions · fixed in 8:6.8.9.9-7ubuntu5.17and 20 other packages
  • imagemagickDebian:14all versions · fixed in 8:6.9.11.24+dfsg-1
  • imagemagickDebian:13all versions · fixed in 8:6.9.11.24+dfsg-1

43 more package ranges on OSV.dev

Vendor advisories

  • CVE-2020-27766 Red Hat Product Security15 known affected

    ImageMagick: outside the range of representable values of type 'unsigned long' at MagickCore/statistic.c

    ImageMagick.src as a component of Red Hat Enterprise Linux 5 · ImageMagick as a component of Red Hat Enterprise Linux 6 · ImageMagick-c++ as a component of Red Hat Enterprise Linux 6 · +12 more

Full record on NVD

Fix

  1. Update Imagemagick to 7.0.8-69 · 6.9.10-69
  2. No fix planned, says the vendor Red Hat Product Security CVE-2020-27766 · 15 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.17.8read 2026-10-23
  • NVDCVSS 2.06.8read 2026-10-23
  • CNAweakness (CWE)CWE-190known since 2026-10-23
  • NVDweakness (CWE)CWE-190read 2026-10-23
  • FIRST EPSSEPSS score1.2 %2026-11-18
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2020-12-04
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-j528-h65h-2m8h

Frequently asked questions

What is CVE-2020-27766?

A flaw was found in ImageMagick in MagickCore/statistic.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type `unsigned long`. This would most likely lead to an impact to application availability, but could potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.8-69.

Is CVE-2020-27766 actively exploited?

Active exploitation of CVE-2020-27766 has not been confirmed. Its EPSS score was 1.2% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-27766?

CVE-2020-27766 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running ImageMagick? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record