Read the docs
TI-2020-15681 Aliases CVE-2020-25664GHSA-c5hg-hx4v-7q6w

Heap-based buffer overflow in ImageMagick

Priority LOW 28CWE-122Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.

Summary

In WriteOnePNGImage() of the PNG coder at coders/png.c, an improper call to AcquireVirtualMemory() and memset() allows for an out-of-bounds write later when PopShortPixel() from MagickCore/quantum-private.h is called. The patch fixes the calls by adding 256 to rowbytes. An attacker who is able to supply a specially crafted image could affect availability with a low impact to data integrity. This flaw affects ImageMagick versions prior to 6.9.10-68 and 7.0.8-68.

Why it matters now

EPSS 0.00719 54th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial ImageMagick: 7.0.8-68, 6.9.10-68Red 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.8-68; before 6.9.10-687.0.8-68, 6.9.10-68Patch availableCNA
  • ImageMagick Vendor— Affected before 7.0.8-68; before 6.9.10-68 Fixed in 7.0.8-68, 6.9.10-68 Patch available CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*before 6.9.10-68; 7.0.8 to before 7.0.8-68VulnerableImageMagick
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
  • cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* Versions before 6.9.10-68; 7.0.8 to before 7.0.8-68 Vulnerable ·ImageMagick
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject

Remediation

  • Fix · CNA ImageMagick Fixed in 7.0.8-68, 6.9.10-68

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-25664
  2. 2026-10-03 Alias added: GHSA-c5hg-hx4v-7q6w

References

Sources