---
id: CVE-2026-56361
title: ImageMagick - Heap Buffer Overflow via Off-by-One in Morphology Processing
summary: >-
  ImageMagick before 7.1.2-19 contains an off-by-one error in morphology
  validation allowing out-of-bounds heap buffer reads. Attackers can trigger
  heap buffer overflow by providing incorrect morphology parameters causing
  single pixel memo…
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-125
vendor: ImageMagick
product: ImageMagick
affected:
  - ImageMagick >= 7.0.0 < 7.1.2-19
  - ImageMagick < 6.9.13-44
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-07-01T13:43:38.671271Z'
published: '2026-06-30'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T21:15:49.087Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-56361'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-q8h3-jv9v-57qx
    label: GitHub Security Advisory (GHSA-q8h3-jv9v-57qx)
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-heap-buffer-overflow-via-off-by-one-in-morphology-processing
    label: >-
      VulnCheck Advisory: ImageMagick - Heap Buffer Overflow via Off-by-One in
      Morphology Processing
tags:
  - cve.org
epss: 0.00128
epssPercentile: 0.02454
ingestedAt: '2026-11-03T08:39:35.558Z'
---

## Overview

ImageMagick before 7.1.2-19 contains an off-by-one error in morphology validation allowing out-of-bounds heap buffer reads. Attackers can trigger heap buffer overflow by providing incorrect morphology parameters causing single pixel memory access violations.

## Affected

- `ImageMagick >= 7.0.0 < 7.1.2-19`
- `ImageMagick < 6.9.13-44`

## Remediation

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