Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-30 and 6.9.13-55, when ImageMagick is built without Cairo support, a crafted RSVG image that reaches a resource limit can cause the RSVG decoder to free image state twice and then use freed memory, crashing the process. This issue is fixed in versions 7.1.2-30 and 6.9.13-55.
Published: 2026-10-07
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

Impact

ImageMagick, a widely used open‑source image processing library, contains a use‑after‑free vulnerability in its RSVG decoder. The flaw manifests only when the library is built without Cairo support and a specially crafted RSVG file that exceeds a resource limit is processed. The decoder frees the same memory region twice and then accesses it, causing the image processing thread to crash. The crash terminates the process, leading to a denial of service for any application that relies on ImageMagick to handle such images.

Affected Systems

All installations of ImageMagick prior to version 7.1.2-30 and 6.9.13-55 that are compiled without Cairo support are susceptible. This includes builds on Linux, Windows, macOS, and any other platform where ImageMagick is used to process RSVG files. The problem is resolved in releases 7.1.2-30 and 6.9.13-55 and later, as well as in any subsequent versions that incorporate the fix.

Risk and Exploitability

The CVSS score of 5.9 denotes moderate severity; the EPSS score is not available, so the likelihood of exploitation is unknown. Since the issue results in a crash rather than arbitrary code execution, it is not currently listed in CISA’s Known Exploited Vulnerabilities catalog. Attackers would need a means to deliver a malicious RSVG file to a system that processes images—either via remote upload to a web service or local execution of image manipulation. No remote code execution capability is reported, so the primary risk is service interruption rather than full system compromise.

Generated by OpenCVE AI on October 8, 2026 at 14:30 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to ImageMagick 7.1.2-30 or later, or 6.9.13-55 or newer, which include the patch
  • If upgrading is not immediately feasible, rebuild ImageMagick with Cairo support enabled to eliminate the vulnerable code path
  • If RSVG functionality is unnecessary, disable or remove RSVG handling from the build to shrink the attack surface

Generated by OpenCVE AI on October 8, 2026 at 14:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4858-1 imagemagick security update
History

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

Thu, 08 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 07 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 07 Oct 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick

Wed, 07 Oct 2026 16:15:00 +0000

Type Values Removed Values Added
Description ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-30 and 6.9.13-55, when ImageMagick is built without Cairo support, a crafted RSVG image that reaches a resource limit can cause the RSVG decoder to free image state twice and then use freed memory, crashing the process. This issue is fixed in versions 7.1.2-30 and 6.9.13-55.
Title ImageMagick: Use-After-Free in RSVG decoder that is build without cairo support
Weaknesses CWE-415
CWE-416
References
Metrics cvssV3_1

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


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-07T17:40:58.685Z

Reserved: 2026-10-07T14:34:14.814Z

Link: CVE-2026-107209

cve-icon Vulnrichment

Updated: 2026-10-07T17:40:45.599Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-07T16:17:45.940

Modified: 2026-10-21T15:41:22.870

Link: CVE-2026-107209

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-07T15:58:15Z

Links: CVE-2026-107209 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T14:45:17Z

Weaknesses