CVE-2026-48733

ImageMagick: Infinite Loop in subimage-search with crafted image

Published Jun 10, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-49 and 7.1.2-24, an infinite loop in the subimage-search operation can happen when using a crafted image. This issue has been patched in versions 6.9.13-49 and 7.1.2-24.

Analysis

AI-generated

Technical impact

The vulnerability exists because ImageMagick can enter an infinite loop during its subimage-search operation when processing a specially crafted image. The resulting endless cycle consumes system resources and can cause the application to hang or crash, effectively denying service to legitimate users. This weakness is classified as CWE-835, an infinite loop condition.

Affected Systems

The flaw affects all releases of ImageMagick prior to 6.9.13-49 and 7.1.2-24. Systems that use older ImageMagick binaries in any image processing pipeline—such as web servers, media converters, or content management systems—are potentially impacted.

Risk and Exploitability

ImageMagick receives a CVSS score of 4.7, indicating a moderate impact. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited known exploitation activity. The attack vector is inferred: an attacker would need to supply a crafted image to a vulnerable instance. Environments that accept user‑supplied images for processing—common in web services—are the most likely targets, though no privileged execution is required for exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 6.9.13-49 or later, or 7.1.2-24 or later, to obtain the fix for the infinite loop issue.
  • Validate and sanitize all user‑supplied images before passing them to ImageMagick, ensuring that only properly formed images of expected size and format are processed.
  • If subimage-search functionality is not needed for your application, disable it or remove the code path entirely to eliminate the vulnerability.

Generated by OpenCVE AI on June 10, 2026 at 23:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4643-1 imagemagick security update
Github GHSA Github GHSA GHSA-5v62-8fq6-cp9m ImageMagick has an Infinite Loop in subimage-search with crafted image
History
Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick
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-49 and 7.1.2-24, an infinite loop in the subimage-search operation can happen when using a crafted image. This issue has been patched in versions 6.9.13-49 and 7.1.2-24.
Title ImageMagick: Infinite Loop in subimage-search with crafted image
Weaknesses 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'}

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 11, 2026, 1:09 PM
Reserved
May 22, 2026, 7:10 PM
Status
Analyzed
Published
Jun 10, 2026, 11:16 PM
Modified
Jul 23, 2026, 9:10 AM
Severity
Moderate
Public date
Jun 10, 2026, 9:53 PM