---
id: CVE-2026-56362
title: >-
  ImageMagick - Heap-buffer-overflow Read in GetPixelIndex via OpenPixelCache
  Metadata Desynchronization
summary: >-
  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
  allocati…
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-125
vendor: ImageMagick
product: ImageMagick
affected:
  - ImageMagick >= 7.0.0 < 7.1.2-15
  - ImageMagick < 6.9.13-40
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-07-08T16:41:35.114834Z'
published: '2026-07-08'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T21:15:49.790Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-56362'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-gq5v-qf8q-fp77
    label: GitHub Security Advisory (GHSA-gq5v-qf8q-fp77)
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-heap-buffer-overflow-read-in-getpixelindex-via-openpixelcache-metadata-desynchronization
    label: >-
      VulnCheck Advisory: ImageMagick - Heap-buffer-overflow Read in
      GetPixelIndex via OpenPixelCache Metadata Desynchronization
tags:
  - cve.org
epss: 0.00189
epssPercentile: 0.08592
ingestedAt: '2026-11-03T08:39:35.559Z'
---

## Overview

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.

## Affected

- `ImageMagick >= 7.0.0 < 7.1.2-15`
- `ImageMagick < 6.9.13-40`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
