CVE-2026-61871

ImageMagick before 7.1.2-26 Memory Leak in ICON decoder

Published Jul 15, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

ImageMagick versions prior to 7.1.2-26 and 6.9.13-51 contain a flaw in the ICON decoder that triggers a memory leak when a memory allocation fails. If a crafted Icon file is processed, repeated allocation failures leak memory, potentially exhausting system resources and rendering the processing tool or any application that uses the library unavailable. The underlying weakness is an uncontrolled memory allocation (CWE-401) and improper handling of an allocation failure (CWE-772).

Affected Systems

The vulnerability affects installations of the ImageMagick image processing suite that are older than version 7.1.2-26 or 6.9.13-51. All users of pre‑release releases before these updates are potentially impacted.

Risk and Exploitability

The CVSS base score of 6.3 indicates moderate severity, while an EPSS score of less than 1% shows a very low predicted exploitation probability. The issue is not listed in the CISA KEV catalog. Exploitation requires an attacker to supply a crafted Icon file to the ImageMagick library, either by invoking the command‑line tools directly or by embedding the file in an application that calls the library. Because this is a memory‑leak flaw rather than a code‑execution flaw, the primary impact is on system or application availability rather than confidentiality or integrity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2-26 or newer, or to 6.9.13-51 or newer if that version bundle includes the fix.
  • If an upgrade is not immediately possible, configure the application or environment to reject or isolate processing of Icon files, limiting the exposure of the memory‑leak surface.
  • Implement memory‑usage monitoring for processes that invoke ImageMagick to detect or mitigate exhaustion caused by repeated allocation failures.

Generated by OpenCVE AI on July 31, 2026 at 03:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description 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.
Title ImageMagick before 7.1.2-26 Memory Leak in ICON decoder
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-401
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 9:16 PM
Reserved
Jul 10, 2026, 9:54 PM
Status
Deferred
Published
Jul 15, 2026, 12:18 PM
Modified
Oct 29, 2026, 9:17 PM
Severity
Low
Public date
Jul 15, 2026, 11:25 AM