CVE-2025-53015
NoneCVSS
—
EPSS
0.8%
Published
Jul 14, 2025
CISA due date
—
Cloudanix analysis
A bug in widely used image software can cause it to freeze or use excessive resources when handling certain files, interrupting any service that relies on image processing.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Triggers unbounded resource consumption through an infinite loop that writes lines repeatedly during a specific XMP file conversion operation.
Why it matters to the business
Causes image-processing workloads to hang or exhaust CPU and memory, disrupting services that handle user-supplied images until the process is killed or the host is rebooted.
How an attack unfolds
An attacker supplies a crafted image or XMP metadata to an application that invokes ImageMagick's conversion command; the vulnerable code path enters an infinite write loop, starving the system of resources.
How to fix it
Upgrade ImageMagick to version 7.1.2-0 or later; for source builds, ensure the commit 3fcd081c0278427fc0e8ac40ef75c0a1537792f7 (or equivalent) is included.
How to confirm the fix worked
Confirm the installed version reports 7.1.2-0 or newer; run the affected XMP conversion command against known test images and verify termination within expected time and resource bounds.
Typical attack path
- Locate an application or service that invokes ImageMagick on untrusted input
- Craft or obtain an image file that triggers the XMP conversion code path
- Submit the file through normal upload or processing channels
- Observe sustained high CPU or memory usage leading to denial of service
How to detect it
Monitor for ImageMagick processes that exhibit sustained high CPU or memory usage during XMP conversion tasks; inspect application and system logs for repeated write operations or unusually long-running convert commands.
What your security team should do
- Apply the fixed version or commit across all ImageMagick installations without delay
- Temporarily disable XMP-related conversion features or sandbox ImageMagick processes if immediate upgrade is not feasible
- Add resource limits and monitoring around all image-processing pipelines
The record
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-0, infinite lines occur when writing during a specific XMP file conversion command. Version 7.1.2-0 fixes the issue.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| NuGet | Magick.NET-Q16-AnyCPU | 0 | 14.7.0 |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | 0 | 14.7.0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-x64 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q16-HDRI-arm64 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q16-HDRI-x64 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q16-HDRI-x86 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q16-OpenMP-arm64 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q16-OpenMP-x64 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q16-OpenMP-x86 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q16-arm64 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q16-x64 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q16-x86 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q8-AnyCPU | 0 | 14.7.0 |
| NuGet | Magick.NET-Q8-OpenMP-arm64 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q8-OpenMP-x64 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q8-arm64 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q8-x64 | 0 | 14.7.0 |
| NuGet | Magick.NET-Q8-x86 | 0 | 14.7.0 |
| Chainguard | imagemagick-6-dev | 0 | 6.9.13.33-r0 |
| Chainguard | imagemagick-6-doc | 0 | 6.9.13.33-r0 |
| Chainguard | imagemagick-6-static | 0 | 6.9.13.33-r0 |
| Debian:13 | imagemagick | 0 | No fix |
| Debian:14 | imagemagick | 0 | No fix |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 | ImageMagick | 0 | 7.1.1.21-150600.3.13.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP6 | ImageMagick | 0 | 7.1.1.21-150600.3.13.1 |
| openSUSE:Leap 15.6 | ImageMagick | 0 | 7.1.1.21-150600.3.13.1 |
| openSUSE:Tumbleweed | ImageMagick | 0 | 7.1.2.0-1.1 |
Related vulnerabilities
- CVE-2026-27799 ImageMagick is free and open-source software used for editing and manipulating digital… Also affects Magick.NET-Q16-AnyCPU
- CVE-2026-27798 ImageMagick is free and open-source software used for editing and manipulating digital… Also affects Magick.NET-Q16-AnyCPU
- GHSA-r99p-5442-q2x2 ImageMagick has a heap Buffer Over-read in its DJVU image format handler Also affects Magick.NET-Q16-AnyCPU
- GHSA-qpgx-jfcq-r59f ImageMagick: Heap Buffer Over-read in WaveletDenoise when processing small images Also affects Magick.NET-Q16-AnyCPU
- GHSA-gq5v-qf8q-fp77 ImageMagick: Heap-based Buffer Overflow in GetPixelIndex due to metadata-cache… Also affects Magick.NET-Q16-AnyCPU
- GHSA-wfx3-6g53-9fgc ImageMagick: Memory Leak in multiple coders that write raw pixel data Also affects Magick.NET-Q16-AnyCPU
- GHSA-3q5f-gmjc-38r8 ImageMagick: Memory leak in coders/txt.c without freetype Also affects Magick.NET-Q16-AnyCPU
- GHSA-xpg8-7m6m-jf56 ImageMagick: SVG-to-MVG Command Injection via coders/svg.c Also affects Magick.NET-Q16-AnyCPU