CVE-2026-106567

ImageMagick: Infinite Loop in PSD decoder on 32-bit builds

Published Oct 7, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-32 and 6.9.13-57, a crafted PSD file can trigger an integer-conversion error in the PSD decoder on 32-bit builds, causing an infinite loop and denial of service. This issue is fixed in versions 7.1.2-32 and 6.9.13-57.

Analysis

AI-generated

Technical impact

An integer conversion error in the PSD decoder of ImageMagick causes the parser to enter an endless loop when processing specially crafted Photoshop files on 32‑bit builds. The loop exhausts CPU resources and results in a denial of service to the application or system that loaded the image. This weakness maps to CWE‑196 for improper data conversion and CWE‑835 for infinite loops.

Affected Systems

32‑bit installations of ImageMagick prior to release 7.1.2‑32 and 6.9.13‑57 are vulnerable; the flaw is confined to the PSD decoder and does not affect other formats or 64‑bit builds.

Risk and Exploitability

The CVSS score of 5.9 indicates medium severity. No EPSS value is published, so exploitation likelihood is not quantifiable, and the issue is not listed in CISA’s KEV catalog. Attackers can trigger the bug by delivering a malicious PSD file to any image‑processing pipeline that accepts user‑supplied images—typical vectors include web servers, CMSs, or services that load images from external sources. Because the flaw does not permit code execution or privilege escalation, its impact is limited to service disruption, though in mission‑critical environments it could facilitate further denial‑of‑service attacks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update ImageMagick to at least version 7.1.2‑32 for the 7.x series or 6.9.13‑57 for the 6.x series to receive the fix.
  • Run image processing only on non‑32‑bit builds or configure the application to reject or sandbox PSD files when possible.
  • If PSD support is not required, disable the PSD decoder at runtime by removing its module or applying policy rules to block the format.

Generated by OpenCVE AI on October 7, 2026 at 17:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4858-1 imagemagick security update
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
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
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 7.1.2-32 and 6.9.13-57, a crafted PSD file can trigger an integer-conversion error in the PSD decoder on 32-bit builds, causing an infinite loop and denial of service. This issue is fixed in versions 7.1.2-32 and 6.9.13-57.
Title ImageMagick: Infinite Loop in PSD decoder on 32-bit builds
Weaknesses CWE-196
CWE-835
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-196

    Unsigned to Signed Conversion Error

  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 7, 2026, 4:14 PM
Reserved
Oct 6, 2026, 8:31 PM
Status
Analyzed
Published
Oct 7, 2026, 4:17 PM
Modified
Oct 22, 2026, 5:59 PM
Severity
Moderate
Public date
Oct 7, 2026, 3:22 PM