Cloudanix VulnDB

CVE-2026-61465

Low · 3.3

CVSS

3.3

EPSS

0.2%

Published

Jul 11, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A malicious image could make systems that process pictures with this software run out of memory and temporarily stop working.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Moderate
Impact
Denial Of Service
Component
Application
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

ImageMagick versions before 7.1.2-26 and 6.9.13-51 fail to enforce the configured memory allocation limit for certain matrix-backed image operations, including operations such as `-canny`. A crafted image processed through an affected code path can cause memory allocation beyond the intended policy limits, potentially exhausting memory or destabilizing the image-processing process. The impact is denial of service rather than code execution or data compromise.

Why it matters to the business

Applications, batch jobs, content pipelines, and user-facing services that accept or transform untrusted images with ImageMagick may become slow, crash, or fail when processing a malicious image. This can interrupt uploads, thumbnail generation, document conversion, media processing, or other workflows that depend on ImageMagick. The CVSS and EPSS values are low, it is not listed in CISA KEV, and no mature public exploitation is indicated, but internet-facing or automated image-processing services should still treat it as an availability risk.

How an attack unfolds

An attacker needs a path to cause an affected ImageMagick installation to process a maliciously crafted image, either by uploading an image to an application, submitting a file to a conversion workflow, sending an attachment that is automatically transformed, or placing a file where a scheduled job will process it. The attacker crafts the image so that a vulnerable matrix-backed operation, such as edge detection via `-canny`, triggers memory allocation that bypasses ImageMagick’s configured memory policy. When the file is processed, ImageMagick may allocate excessive memory, causing the process to terminate, the worker to be killed by the operating system, or the host/container to experience memory pressure. Repeated submissions can amplify the denial-of-service effect against queues, workers, or web services.

How to fix it

Upgrade ImageMagick to a fixed release: 7.1.2-26 or later for the 7.x branch, or 6.9.13-51 or later for the 6.x branch. If packages are supplied by an operating system or container image vendor, apply the vendor-provided security update even if the displayed upstream version differs due to backporting. Rebuild containers and redeploy applications that bundle ImageMagick. As defense in depth, restrict untrusted image processing to isolated workers, enforce operating-system or container memory limits, limit maximum image dimensions and file sizes, restrict high-cost operations where feasible, and ensure ImageMagick policy settings are still configured conservatively despite this specific bypass.

How to confirm the fix worked

Confirm the installed ImageMagick version with `magick -version`, `convert -version`, package manager metadata, or container image inventory, and verify it is 7.1.2-26 or later, 6.9.13-51 or later, or a vendor-patched equivalent. Review dependency and container scans for ImageMagick packages embedded in application images. Validate that image-processing workers run with enforced memory limits at the OS, container, or orchestrator level. Where safe and authorized, test representative image-processing workflows after patching to confirm normal operation and that malicious or oversized inputs are rejected or contained without crashing workers or degrading service.

Typical attack path

  1. Identify an application, API, job, or service that processes images using ImageMagick.
  2. Determine whether user-supplied images can reach matrix-backed operations such as `-canny` or equivalent transformations.
  3. Create or obtain a crafted image designed to force excessive matrix-backed memory allocation.
  4. Submit the crafted image through an upload, attachment, conversion, or batch-processing workflow.
  5. Trigger ImageMagick processing and cause memory exhaustion, process crashes, worker restarts, queue backlog, or service degradation.
  6. Repeat submissions if the goal is sustained denial of service.

How to detect it

Review application, worker, container, and operating-system logs for evidence of ImageMagick processes failing or being killed during image transformations, especially around uploads or batch jobs involving untrusted images. Useful sources include web upload logs, application conversion logs, job queue logs, container runtime events, kernel logs, systemd journals, Kubernetes events, and endpoint telemetry. Look for `magick` or `convert` processes with abnormal memory growth, out-of-memory kills, segmentation or abort messages, repeated failed conversions, or worker restarts shortly after processing a specific image. Correlate failures with request metadata such as upload endpoint, source IP, authenticated user context where applicable, filename, MIME type, and timestamp. Since no public exploit pattern or unique payload signature is provided, detection should focus on behavioral indicators of resource exhaustion during ImageMagick operations rather than a single definitive IOC.

  • process_name=magick
  • process_name=convert
  • process_name=identify
  • process_name=mogrify
  • -canny
  • cache resources exhausted
  • memory allocation failed
  • unable to allocate memory
  • Killed process
  • Out of memory: Killed process
  • OOMKilled
  • exit code 137
  • signal: killed
  • MagickCore
  • MagickWand
  • ImageMagick

What your security team should do

  • Inventory systems, containers, serverless functions, CI jobs, and applications that use ImageMagick to process untrusted or semi-trusted images.
  • Prioritize patching internet-facing upload services, automated attachment processors, media pipelines, and multi-tenant image conversion services.
  • Upgrade to ImageMagick 7.1.2-26 or later, 6.9.13-51 or later, or the appropriate vendor-patched package.
  • Redeploy rebuilt container images and verify that old vulnerable images are not still running in production or job queues.
  • Apply defense-in-depth controls: file size limits, pixel dimension limits, rate limits, queue isolation, container memory caps, and worker restart limits.
  • Monitor for abnormal memory spikes, out-of-memory kills, repeated image-processing crashes, and repeated submissions of files that fail during ImageMagick transformations.
  • Because this is not currently KEV-listed and has low EPSS, handle as a normal-priority availability fix unless the service processes untrusted images at scale or supports business-critical workflows.

The record

ImageMagick before 7.1.2-26 and 6.9.13-51 is missing a check for the allowed memory allocation limit in matrix-backed operations such as -canny. An attacker can supply a crafted image that causes ImageMagick to allocate more memory than permitted by the configured policy, resulting in a denial of service.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities