CVE-2026-106572

ImageMagick: Stack Overflown CALS decoder due to missing depth check.

Published Oct 7, 2026 CVSS 3.1 · 5.3 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-30 and 6.9.13-55, a missing recursion-depth check in the CALS decoder allows a crafted CALS image to exhaust the call stack and terminate the process. This issue is fixed in versions 7.1.2-30 and 6.9.13-55.

Analysis

AI-generated

Technical impact

The vulnerability resides in the CALS decoder of ImageMagick, where a missing recursion‑depth check allows a crafted CALS image to exhaust the process call stack and abruptly terminate the program. This leads to a denial of service on the affected system, as legitimate image processing requests continue to fail until the process restarts. The weakness is classified as CWE‑674 and CWE‑770, reflecting improper recursion depth management and resource exhaustion. Only the process termination effect is documented; no data leakage or elevation is reported.

Affected Systems

ImageMagick, version earlier than 7.1.2‑30 for the main distribution and earlier than 6.9.13‑55 for the legacy package, is affected. All installations using the CALS image format decoder before these releases must be patched. No other vendors or product lines are listed.

Risk and Exploitability

The CVSS score is 5.3, indicating a moderate risk level. EPSS data is not available, so the probability of exploitation cannot be quantified. The vulnerability is not listed in the CISA KEV catalog. This flaw maps to CWE‑674 and CWE‑770, the missing depth check leading to stack exhaustion and resource exhaustion. Attackers can potentially exploit the flaw by supplying a malformed CALS image to any service or user process that invokes the ImageMagick decoder; the attack likely requires the ability to influence input fed to the decoder. The lacking depth check is the sole condition needed to trigger the crash, making the vulnerability straightforward to exploit if a vulnerable image is processed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update ImageMagick to release 7.1.2‑30 or 6.9.13‑55, the fixes that add the missing recursion‑depth check.
  • If an upgrade is not immediately possible, disable the CALS decoder in the ImageMagick configuration or avoid processing CALS files entirely.
  • In the interim, apply input validation to reject or sanitize malformed CALS images and monitor for abnormal termination events to mitigate denial‑of‑service impact.

Generated by OpenCVE AI on October 8, 2026 at 14:00 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': 'yes', '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-30 and 6.9.13-55, a missing recursion-depth check in the CALS decoder allows a crafted CALS image to exhaust the call stack and terminate the process. This issue is fixed in versions 7.1.2-30 and 6.9.13-55.
Title ImageMagick: Stack Overflown CALS decoder due to missing depth check.
Weaknesses CWE-674
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 7, 2026, 4:11 PM
Reserved
Oct 6, 2026, 8:31 PM
Status
Analyzed
Published
Oct 7, 2026, 4:17 PM
Modified
Oct 21, 2026, 6:26 PM
Severity
Moderate
Public date
Oct 7, 2026, 3:33 PM