Description
ImageMagick before 7.1.2-30 and 6.9.13-55 contains an uncontrolled recursion vulnerability in the CALS decoder due to a missing depth check. Attackers can supply a crafted CALS image that triggers unbounded recursion, exhausting the stack and crashing the process, resulting in a denial of service.
Published: 2026-10-08
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service via stack exhaustion
Action: Patch Now
AI Analysis

Impact

ImageMagick before version 7.1.2-30 and the 6.9.13-55 releases contain an uncontrolled recursion flaw in the CALS decoder. The lack of a depth check allows an attacker to craft a CALS image that causes the decoder to recurse without bound, eventually depleting the process stack and crashing the image processing service. This failure to complete normally results in a denial of service for the affected application or service that relies on ImageMagick to handle image files.

Affected Systems

The vulnerability affects ImageMagick for all platforms where the 7.x series prior to 7.1.2-30 or the 6.9.x series prior to 6.9.13-55 is installed. These include both the stable 7.x release tree and the older 6.9.x releases, with no specific hotfixes mentioned in the advisory.

Risk and Exploitability

The CVSS base score of 6.9 indicates moderate severity, and the EPSS score is currently unavailable, meaning no quantified likelihood is provided. The vulnerability is not listed in the CISA KEV catalog. Because the flaw is triggered by a crafted CALS image, the likely attack vector is remote or local where an application accepts untrusted image data; the attacker does not need elevated privileges, making the vulnerability exploitable in many deployment scenarios. Successful exploitation leads only to service disruption, but many systems rely on image rendering for user interaction, making the impact significant in a production environment.

Generated by OpenCVE AI on October 8, 2026 at 15:58 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to a version that includes the CALS decoder depth check, such as 7.1.2-30 or newer for the 7.x series, or 6.9.13-56 or newer for the 6.9.x series.
  • When an immediate upgrade is not feasible, isolate image processing by running the ImageMagick tool in a sandbox or container with strict resource limits to prevent stack exhaustion.
  • Configure system limits, such as a reduced stack size or ulimit settings, for processes that invoke ImageMagick to mitigate the impact of any remaining recursion before a patch is applied.

Generated by OpenCVE AI on October 8, 2026 at 15:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 08 Oct 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 08 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
Description ImageMagick before 7.1.2-30 and 6.9.13-55 contains an uncontrolled recursion vulnerability in the CALS decoder due to a missing depth check. Attackers can supply a crafted CALS image that triggers unbounded recursion, exhausting the stack and crashing the process, resulting in a denial of service.
Title ImageMagick before 7.1.2-30 Stack Overflow in CALS Decoder
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-674
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
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'}

cvssV4_0

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


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-08T14:49:25.181Z

Reserved: 2026-10-05T21:59:09.590Z

Link: CVE-2026-105827

cve-icon Vulnrichment

Updated: 2026-10-08T14:49:17.539Z

cve-icon NVD

Status : Received

Published: 2026-10-08T15:17:34.820

Modified: 2026-10-08T15:17:34.820

Link: CVE-2026-105827

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T17:15:05Z

Weaknesses