Cloudanix VulnDB

CVE-2025-53014

None

CVSS

—

EPSS

0.7%

Published

Jul 14, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in widely used image software can let attackers crash applications or potentially take control by feeding it specially formatted image files.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Moderate
Impact
Other
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Heap buffer overflow in InterpretImageFilename caused by off-by-one error leading to out-of-bounds memory access when processing format strings containing consecutive percent signs (%%).

Why it matters to the business

Applications relying on ImageMagick for image handling face risk of crashes or potential remote code execution, which can disrupt services and require emergency patching across image-processing workflows.

How an attack unfolds

An attacker supplies a crafted image filename or format string containing consecutive percent signs to trigger the off-by-one error during InterpretImageFilename processing, resulting in heap memory corruption that may be leveraged for code execution or denial of service.

How to fix it

Upgrade ImageMagick to version 7.1.2-0 or later and ImageMagick6 to 6.9.13-26 or later; apply the specific fixes in commits 3fcd081c0278427fc0e8ac40ef75c0a1537792f7 and 363f86d818f807e49269287be9c326f658379685 respectively.

How to confirm the fix worked

Verify installed version is at or above the fixed releases, then test processing of format strings containing %% to confirm absence of overflow or crashes.

Typical attack path

  1. Locate systems using vulnerable ImageMagick versions for image processing
  2. Craft input containing format strings with consecutive percent signs (%%)
  3. Invoke image operations that call InterpretImageFilename on the malicious input
  4. Trigger heap buffer overflow to corrupt memory and attempt code execution or crash

How to detect it

Review application logs and process crash dumps for anomalies during image filename parsing; look for repeated processing of inputs with percent sign patterns in image handling routines.

What your security team should do

  • Prioritize upgrade of ImageMagick packages to the fixed commits or versions in all environments
  • Scan dependency trees for affected imagemagick and imagemagick6 packages and enforce version pinning
  • Monitor for new public exploits given the modest but increasing EPSS trend

The record

ImageMagick is free and open-source software used for editing and manipulating digital images. Versions prior to 7.1.2-0 and 6.9.13-26 have a heap buffer overflow in the `InterpretImageFilename` function. The issue stems from an off-by-one error that causes out-of-bounds memory access when processing format strings containing consecutive percent signs (`%%`). Versions 7.1.2-0 and 6.9.13-26 fix 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-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 0 0
Chainguard imagemagick-6-dev 0 0
Chainguard imagemagick-6-doc 0 0
Chainguard imagemagick-6-static 0 0
Debian:11 imagemagick 0 No fix
Debian:12 imagemagick 0 No fix
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.0.9-150400.6.33.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 ImageMagick 0 7.1.1.21-150600.3.13.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP7 ImageMagick 0 7.1.0.9-150400.6.33.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