
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-69204 is an integer overflow vulnerability in ImageMagick's WriteSVGImage function that leads to a buffer overflow and Denial of Service (DoS). It affects all ImageMagick versions prior to 7.1.2-12 and is triggered when converting a malicious MVG file to SVG format. The vulnerability was published on December 30, 2025, and assigned a CVSS v3.1 base score of 7.5 (High) by NVD, though the GitHub advisory rates it as Moderate (5.3) (GitHub Advisory, Feedly).
The root cause is an integer overflow (CWE-190) in coders/svg.c at line 4723, where the variable number_attributes was declared as a signed int instead of an unsigned size_t. An attacker can craft a malicious MVG file with a large number of alphabetic characters in a path token, causing number_attributes to grow very large. When the expression 6 * BezierQuantum * number_attributes is computed, it overflows the signed integer, producing a negative or incorrect value. This causes number_points to be incremented to a much smaller value than intended (e.g., 1904 instead of ~4.3 billion), leading to an undersized ResizeQuantumMemory allocation and subsequent buffer overflow when primitive_info is accessed (GitHub Advisory, Fix Commit).
Successful exploitation causes a buffer overflow or null pointer dereference in the ImageMagick process, resulting in application crash and Denial of Service. There is no identified confidentiality or integrity impact — the vulnerability affects only availability. Systems that automatically process user-supplied or externally sourced image files (e.g., web applications using ImageMagick for image conversion) are at elevated risk of service disruption (GitHub Advisory).
PathPrimitive element with a token string composed of a very large number of alphabetic characters, designed to maximize the value of number_attributes during parsing.magick mvg:malicious.mvg output.svg or through a web application that invokes ImageMagick for image processing.WriteSVGImage processing, the number_attributes counter (stored as int) overflows when 6 * BezierQuantum * number_attributes is computed, producing an incorrect (negative or small) value.number_points value causes ResizeQuantumMemory to allocate an undersized buffer for primitive_info, and subsequent writes to this buffer result in a heap buffer overflow or null pointer dereference.magick) process crashing or terminating unexpectedly, particularly during MVG-to-SVG conversion operations.MemoryAllocationFailed errors, or ResourceLimitError exceptions originating from coders/svg.c in ImageMagick..mvg files in directories used for image upload or processing.Upgrade ImageMagick to version 7.1.2-12 or later, which fixes the issue by changing number_attributes from int to size_t and adding explicit overflow checks before arithmetic operations in WriteSVGImage (Fix Commit). Linux distribution patches are available for Debian (DLA-4429-1), Ubuntu (USN-8007-1), Amazon Linux 2 (ALAS2-2026-3123), and openSUSE. As a workaround where immediate patching is not possible, restrict or disable SVG/MVG file processing from untrusted sources, and implement input validation to limit file types accepted by image processing pipelines (Debian LTS, Ubuntu Advisory).
The vulnerability received routine coverage from Linux security news outlets and distribution maintainers, with Debian, Ubuntu, Amazon Linux, and openSUSE all issuing security updates. Tenable published multiple Nessus detection plugins (e.g., plugin IDs 282500, 294893, 297947) for the vulnerability. No notable researcher commentary or significant social media discussion beyond automated CVE tracking posts was identified (Debian LTS, Ubuntu Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."