Read the docs
TI-2020-16841 Aliases CVE-2020-27756GHSA-ghpq-hg85-4p3m

In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can…

Priority LOW 26CWE-369Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 4 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-369.

Summary

In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can lead to divide-by-zero conditions which also lead to undefined behavior. This flaw can be triggered by a crafted input file processed by ImageMagick and could impact application availability. The patch uses multiplication in addition to the function `PerceptibleReciprocal()` in order to prevent such divide-by-zero conditions. This flaw affects ImageMagick versions prior to 7.0.9-0.

Why it matters now

EPSS 0.00843 58th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial ImageMagick: 7.0.9-0Red Hat: 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—ImageMagickbefore 7.0.9-07.0.9-0Patch availableCNA
  • ImageMagick Vendor— Affected before 7.0.9-0 Fixed in 7.0.9-0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*6.9.9-34 to before 6.9.10-69; 7.0.0-0 to before 7.0.9-0VulnerableImageMagick
  • cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* Versions 6.9.9-34 to before 6.9.10-69; 7.0.0-0 to before 7.0.9-0 Vulnerable ·ImageMagick

Remediation

  • Fix · CNA ImageMagick Fixed in 7.0.9-0

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 9AffectedNo fix yet
Not affected: 1 product
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-27756
  2. 2026-10-03 Alias added: GHSA-ghpq-hg85-4p3m

References

  • TI-2016-03144 The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT… KEVCVSS 3.1HIGH 8.4
  • TI-2023-16996 Improper input validation in ImageMagick CVSS 3.1CRITICAL 9.8
  • TI-2016-03148 The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1… KEVCVSS 3.1MEDIUM 5.5
  • TI-2016-03145 The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote… KEVCVSS 3.1MEDIUM 5.5
  • TI-2025-35690 ImageMagick BlobStream Forward-Seek Under-Allocation CVSS 3.1CRITICAL 9.8
  • TI-2025-33094 ImageMagick has Stack Buffer Overflow in image.c CVSS 3.1CRITICAL 9.8
See all 888 →

Sources