imagemagick imagemagick CVE-2025-68618 in ImageMagick and Canonical Products
Published on December 30, 2025

Magick's failure to limit the depth of SVG file reads caused a DoS attack.

product logo product logo
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-12, using Magick to read a malicious SVG file resulted in a DoS attack. Version 7.1.2-12 fixes the issue.

NVD

Vulnerability Analysis

CVE-2025-68618 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a small impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
NONE
Availability Impact:
LOW

Weakness Type

What is a Stack Exhaustion Vulnerability?

The product does not properly control the amount of recursion which takes place, consuming excessive resources, such as allocated memory or the program stack.

CVE-2025-68618 has been classified to as a Stack Exhaustion vulnerability or weakness.


Products Associated with CVE-2025-68618

stack.watch emails you whenever new vulnerabilities are published in ImageMagick or Canonical Ubuntu Linux. Just hit a watch button to start following.

 
 

Affected Versions

ImageMagick Version < 7.1.2-12 is affected by CVE-2025-68618

Exploit Probability

EPSS
0.10%
Percentile
26.79%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.