Description
ImageMagick before 7.1.2-15 contains a heap-buffer-overflow read vulnerability in GetPixelIndex caused by OpenPixelCache updating image channel metadata before pixel cache memory allocation. Attackers can trigger memory and disk allocation failures to cause a heap-buffer-overflow read affecting any writer calling GetPixelIndex.
Published: 2026-07-08
Score: 2.1 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

ImageMagick versions earlier than 7.1.2‑15 contain a heap‑buffer‑overflow read flaw in the GetPixelIndex function. The defect occurs when OpenPixelCache updates channel metadata before allocating pixel‑cache memory. An attacker can trigger memory or disk allocation failures that cause a read past the allocated buffer. The vulnerability is classified as CWE‑125, indicating incorrect access of memory buffers, and does not provide arbitrary code execution capability.

Affected Systems

The flaw is present in all releases of ImageMagick older than 7.1.2‑15, affecting the core library that processes any image format handled by the software. Systems running these older builds and using ImageMagick for image manipulation—whether through applications, services, or third‑party integrations—are vulnerable. Any component that writes image data with GetPixelIndex can trigger the issue

Risk and Exploitability

The CVSS score of 2.1 classifies the vulnerability as low severity, and the EPSS score of less than 1% indicates a very low likelihood of exploitation in the wild. The flaw is not listed in the CISA KEV catalog. The most likely attack vector is remote, whereby a specially crafted image file is delivered to a vulnerable application that employs ImageMagick. While the risk is considered low, environments that process untrusted image data should still address the vulnerability promptly

Generated by OpenCVE AI on July 26, 2026 at 17:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2-15 or newer on all systems that process images.
  • Patch or replace any third‑party modules or applications that use GetPixelIndex so they link against the updated ImageMagick library.
  • If an immediate upgrade is not possible, isolate image processing operations in a sandboxed environment and restrict untrusted image inputs to prevent exploitation.

Generated by OpenCVE AI on July 26, 2026 at 17:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Wed, 08 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 14:15:00 +0000

Type Values Removed Values Added
Description ImageMagick before 7.1.2-15 contains a heap-buffer-overflow read vulnerability in GetPixelIndex caused by OpenPixelCache updating image channel metadata before pixel cache memory allocation. Attackers can trigger memory and disk allocation failures to cause a heap-buffer-overflow read affecting any writer calling GetPixelIndex.
Title ImageMagick - Heap-buffer-overflow Read in GetPixelIndex via OpenPixelCache Metadata Desynchronization
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-125
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:L'}

cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-08T17:08:28.947Z

Reserved: 2026-06-20T21:16:53.711Z

Link: CVE-2026-56362

cve-icon Vulnrichment

Updated: 2026-07-08T16:41:38.370Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-08T13:49:04Z

Links: CVE-2026-56362 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T18:00:05Z

Weaknesses