---
id: CVE-2026-61871
title: ImageMagick before 7.1.2-26 Memory Leak in ICON decoder
summary: >-
  ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the ICON
  decoder that occurs when a memory allocation fails. Processing a crafted ICON
  file that triggers an allocation failure leaks memory, which may lead to a
  denial …
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-401
vendor: ImageMagick
product: ImageMagick
affected:
  - ImageMagick >= 7.0.0 < 7.1.2-26
  - ImageMagick < 6.9.13-51
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-07-15T12:04:43.342098Z'
published: '2026-07-15'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T21:16:16.503Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-61871'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-h58x-r7f7-rh84
    label: GitHub Security Advisory (GHSA-h58x-r7f7-rh84)
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-before-26-memory-leak-in-icon-decoder
    label: >-
      VulnCheck Advisory: ImageMagick before 7.1.2-26 Memory Leak in ICON
      decoder
tags:
  - cve.org
epss: 0.00353
epssPercentile: 0.29022
ingestedAt: '2026-11-03T08:39:35.577Z'
---

## Overview

ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the ICON decoder that occurs when a memory allocation fails. Processing a crafted ICON file that triggers an allocation failure leaks memory, which may lead to a denial of service.

## Affected

- `ImageMagick >= 7.0.0 < 7.1.2-26`
- `ImageMagick < 6.9.13-51`

## Remediation

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