CVE-2026-109262

ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Memory Leak in SVG Encoder

Published Oct 12, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the SVG encoder (WriteSVGImage) that fails to release allocated memory when handling crafted images. Attackers can supply crafted image files that are processed by the SVG encoder to leak memory and cause a denial of service through resource consumption.

Analysis

AI-generated

Technical impact

The vulnerability is a memory leak in ImageMagick’s SVG encoder, WriteSVGImage, which fails to release memory when processing crafted SVG files. An attacker can supply a malicious image that, when encoded, slowly consumes system memory until the application or host cannot allocate further resources, resulting in a denial of service. The weaknesses are rooted in improper memory management (CWE-401) and incorrect resource handling (CWE-772).

Affected Systems

Vulnerable versions of ImageMagick include releases before 6.9.13‑57 and all 7.x versions prior to 7.1.2‑32. Systems that rely on these libraries to process SVG or apply SVG encoding are at risk, particularly environments that accept or render untrusted images.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity, with the impact limited to service disruption rather than confidentiality or integrity loss. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalogue, suggesting no widespread exploitation reports yet. Based on the description, it is inferred that the likely attack vector is an attacker supplying a crafted SVG file to the SVG encoder; the vector could be local if the application processes files from an attacker-controlled directory, or remote if the application accepts uploads. Exploitation is straightforward once a vulnerable version is in use, with no significant prerequisites beyond the ability to introduce the malicious image.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 6.9.13‑57 or newer, or to 7.1.2‑32 or newer, to eliminate the memory leak.
  • If an upgrade is delayed, restrict the use of the SVG encoder or limit the source of SVG files to trusted or sanitized inputs.
  • Implement runtime monitoring or capping of memory consumption for the ImageMagick process to detect and mitigate excessive memory usage before a full service outage occurs.

Generated by OpenCVE AI on October 13, 2026 at 01:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4875-1 imagemagick security update
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the SVG encoder (WriteSVGImage) that fails to release allocated memory when handling crafted images. Attackers can supply crafted image files that are processed by the SVG encoder to leak memory and cause a denial of service through resource consumption.
Title ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Memory Leak in SVG Encoder
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-401
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 15, 2026, 2:33 AM
Reserved
Oct 12, 2026, 2:10 PM
Status
Analyzed
Published
Oct 12, 2026, 5:17 PM
Modified
Nov 3, 2026, 5:36 PM
Severity
Moderate
Public date
Oct 12, 2026, 4:04 PM