---
id: CVE-2026-56378
title: ImageMagick - Heap Out-of-Bounds Read in PCD Decoder
summary: >-
  ImageMagick before 7.1.2-15 (and 6.x before 6.9.13-40) contains a heap
  out-of-bounds read in the PCD coder's DecodeImage loop. A crafted PCD file can
  trigger a one-byte heap out-of-bounds read during image decoding, resulting in
  denial o…
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'
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-06-22T13:20:07.253117Z'
published: '2026-06-21'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T21:15:57.367Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-56378'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-wgxp-q8xq-wpp9
    label: GHSA Advisory GHSA-wgxp-q8xq-wpp9
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-heap-out-of-bounds-read-in-pcd-decoder
    label: 'VulnCheck Advisory: ImageMagick - Heap Out-of-Bounds Read in PCD Decoder'
tags:
  - cve.org
epss: 0.00389
epssPercentile: 0.33186
ingestedAt: '2026-11-03T08:39:35.563Z'
---

## Overview

ImageMagick before 7.1.2-15 (and 6.x before 6.9.13-40) contains a heap out-of-bounds read in the PCD coder's DecodeImage loop. A crafted PCD file can trigger a one-byte heap out-of-bounds read during image decoding, resulting in denial of service and potential disclosure of an adjacent heap byte.

## 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.
