Cloudanix VulnDB

CVE-2026-53462

Medium · 5.9

CVSS

5.9

EPSS

0.4%

Published

Jun 10, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A flaw in ImageMagick can let a malicious image crash systems that process uploaded images, disrupting services that rely on image conversion or preview generation.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
High
Impact
Denial Of Service
Component
Library
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

ImageMagick versions prior to 6.9.13-50 and 7.1.2-25 contain a memory-safety flaw in CheckPrimitiveExtent. If memory allocation fails while processing image primitive data, the code can reference heap memory that has already been freed, causing a heap-use-after-free condition. The documented impact is process crash and denial of service; there is no stated confidentiality or integrity impact. The CVSS vector indicates network reachability, no authentication or user interaction required, but high attack complexity because successful triggering depends on allocation-failure conditions and specific image-processing behavior.

Why it matters to the business

Services that accept or automatically process untrusted images may be crashed by a specially crafted input, interrupting image conversion, thumbnail generation, document processing, media ingestion, or other workflows that depend on ImageMagick. The issue is not listed in CISA KEV, has low EPSS, and has no known public exploit maturity in the provided data, so broad exploitation pressure appears low; however, internet-facing or automated image-processing pipelines still have operational denial-of-service risk if vulnerable versions remain deployed.

How an attack unfolds

An attacker identifies an application, API, queue worker, or backend service that uses ImageMagick to parse or transform attacker-supplied image content. They submit a crafted image or image-like payload designed to exercise primitive-handling code and trigger an allocation failure in CheckPrimitiveExtent. In vulnerable versions, the allocation-failure path can lead to use of freed heap memory. The expected result is a crash of the ImageMagick process or the parent worker process invoking it, causing failed jobs, service errors, or repeated restarts. Reliable exploitation may be difficult because it depends on memory-pressure and parser-state conditions, but repeated submission of malicious files could still be used to cause intermittent or sustained denial of service.

How to fix it

Upgrade ImageMagick to a patched release: 6.9.13-50 or later for the 6.x branch, or 7.1.2-25 or later for the 7.x branch. Because the input did not provide package-specific fixed versions, use the relevant vendor, distribution, container base image, or language package repository to confirm the exact patched build. Rebuild containers and redeploy applications that bundle ImageMagick binaries or libraries. If immediate upgrade is not possible, reduce exposure by blocking untrusted image formats not required by the business, enforcing strict file size and dimension limits, isolating image-processing workers, applying CPU and memory limits, disabling automatic reprocessing of failed files, and ensuring worker crashes do not affect the primary application process.

How to confirm the fix worked

Confirm the installed ImageMagick version with commands such as `magick -version`, `convert -version`, or package-manager queries, and verify it is at least 6.9.13-50 or 7.1.2-25 depending on the deployed branch. Check container images, serverless layers, build artifacts, and application dependencies for bundled ImageMagick copies. Validate that all image-processing nodes have been restarted or redeployed after patching. Review automated upload and conversion paths to ensure untrusted files are processed only by patched instances. If compensating controls were applied, test that oversized, malformed, or disallowed image inputs are rejected and that image-processing crashes are contained to isolated workers.

Typical attack path

  1. Find an exposed upload, conversion, preview, thumbnailing, or media-processing feature that uses ImageMagick.
  2. Craft or obtain an image payload that reaches ImageMagick primitive-processing logic associated with CheckPrimitiveExtent.
  3. Submit the payload remotely through the application, API, or processing workflow.
  4. Trigger allocation-failure behavior that leads vulnerable ImageMagick versions to access freed heap memory.
  5. Cause the ImageMagick process, worker, or dependent service to crash, resulting in failed image-processing tasks or degraded availability.
  6. Repeat submissions to create recurring denial-of-service conditions if restart or retry mechanisms automatically reprocess the payload.

How to detect it

To determine whether exploitation may have occurred, review logs from applications and workers that invoke ImageMagick, including upload services, thumbnail generators, document-conversion pipelines, queue processors, web server logs, container logs, systemd journals, and crash-reporting systems. Look for crashes of `magick`, `convert`, `identify`, or application worker processes shortly after image uploads or conversion requests. Correlate segmentation faults, abnormal exits, core dumps, OOM-adjacent allocation failures, and repeated failed conversions with the source IP, user agent, uploaded filename, file hash, queue message, or request path. Pay special attention to repeated submissions of the same file, bursts of malformed image uploads, recurring worker restarts, and crashes mentioning ImageMagick primitive processing. Since no specific public exploit or KEV activity is provided, detection should focus on behavioral evidence of denial-of-service attempts rather than fixed network signatures.

  • ImageMagick
  • CheckPrimitiveExtent
  • heap-use-after-free
  • use-after-free
  • magick
  • convert
  • identify
  • Segmentation fault
  • segfault
  • core dumped
  • Aborted (core dumped)
  • memory allocation failed
  • cache resources exhausted
  • worker exited with signal 11
  • exit status 139
  • SIGSEGV
  • MagickCore
  • MagickWand

What your security team should do

  • Inventory all applications, containers, CI/CD images, and servers that use ImageMagick, prioritizing internet-facing upload and conversion workflows.
  • Upgrade to ImageMagick 6.9.13-50 or later, or 7.1.2-25 or later, and rebuild any artifacts that statically bundle vulnerable versions.
  • Prioritize remediation for systems that process untrusted images automatically, especially public web applications, APIs, email/document ingestion systems, and media pipelines.
  • Add guardrails around image processing: file type allowlists, maximum file size and dimensions, worker isolation, memory limits, and crash-safe retry behavior.
  • Monitor image-processing services for unusual crash rates, repeated failed conversions, or repeated submissions from the same source following the publication of this vulnerability.
  • Because KEV status is false, ransomware use is not indicated, EPSS is low, and exploit maturity is listed as none, treat this as a moderate-priority availability issue unless the affected service is mission-critical or publicly exposed.

The record

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-50 and 7.1.2-25, when an allocation fails in CheckPrimitiveExtent this can result in a heap-use-after-free and result in a crash. This issue has been patched in versions 6.9.13-50 and 7.1.2-25.

Affected packages

Ecosystem Package Introduced Fixed
openSUSE:Tumbleweed ImageMagick 0 7.1.2.25-2.1

Related vulnerabilities