Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, when providing invalid arguments to the connected-components option an infinite loop will occur. This issue has been fixed in versions 6.9.13-51 and 7.1.2-26.
Published: 2026-07-01
Score: 4.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

ImageMagick does not validate arguments supplied to the connected-components option; when invalid arguments are provided the program enters an endless loop, consuming CPU and memory until the process is terminated. This flaw maps to uncontrolled resource consumption (CWE-400) and infinite loop (CWE-835) and does not allow privilege escalation or remote code execution.

Affected Systems

Versions of ImageMagick older than 6.9.13‑51 and 7.1.2‑26 are vulnerable when the connected‑components option is enabled. Any deployment that processes images with this option—such as web servers, content management systems, or automated image‑processing pipelines—can be impacted if it uses an unpatched build.

Risk and Exploitability

The CVSS score of 4.7 indicates a moderate severity. The EPSS score of less than 1% indicates a very low probability of exploitation at present. The vulnerability is not listed in the CISA KEV catalogue. Based on the description, the likely attack vector is the use of invalid arguments supplied through an image file, command line, or API that invokes the connected‑components option. While this can cause a denial‑of‑service condition for the host running ImageMagick, no higher‑level effects such as remote code execution are indicated.

Generated by OpenCVE AI on July 21, 2026 at 13:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 6.9.13‑51 or newer, or 7.1.2‑26 or newer, to eliminate the flaw.
  • If an upgrade is not feasible, disable the connected‑components option in all configurations or command lines that do not require it.
  • Implement input validation to ensure that any parameters passed to the connected‑components option are within the expected range before invoking the command.

Generated by OpenCVE AI on July 21, 2026 at 13:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4680-1 imagemagick security update
History

Thu, 02 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 02 Jul 2026 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 02 Jul 2026 04:00:00 +0000

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick

Wed, 01 Jul 2026 19:15:00 +0000

Type Values Removed Values Added
Description ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, when providing invalid arguments to the connected-components option an infinite loop will occur. This issue has been fixed in versions 6.9.13-51 and 7.1.2-26.
Title ImageMagick: Infinite Loop in connected-components when providing invalid arguments
Weaknesses CWE-400
CWE-835
References
Metrics cvssV3_1

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


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-02T12:46:43.676Z

Reserved: 2026-06-16T23:18:03.170Z

Link: CVE-2026-55595

cve-icon Vulnrichment

Updated: 2026-07-02T12:46:38.432Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-01T19:00:31Z

Links: CVE-2026-55595 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T13:30:07Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')