Description
ImageMagick before 7.1.2-15 and 6.9.13-40 contains a command injection vulnerability in the SVG decoder that allows attackers to inject arbitrary MVG drawing commands. Attackers can craft malicious SVG files with injected Magick Vector Graphics commands that execute during rendering.
Published: 2026-06-23
Score: 9.2 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

ImageMagick versions prior to 7.1.2-15 and 6.9.13-40 contain a flaw in the SVG decoder that permits the injection of arbitrary MVG drawing commands. When a malicious SVG file is processed for rendering, the injected commands are executed by the ImageMagick engine as part of the rendering workflow, potentially altering the produced output in a way defined by the attacker. The vulnerability is classified as a command injection affecting the image conversion process, as indicated by the CWE identifiers for improper encoding (CWE-116) and OS command injection (CWE-78).

Affected Systems

All installations of ImageMagick that use the SVG decoder and run versions earlier than 7.1.2-15 or 6.9.13-40 are affected. Vendors deploying ImageMagick 7.x prior to the 7.1.2-15 release or ImageMagick 6.9.13-40 remain at risk. The flaw does not depend on network exposure; it triggers when an SVG file is provided to the ImageMagick toolchain for rendering by any user with file‑system access to the content.

Risk and Exploitability

The flaw is a high‑severity vulnerability with a CVSS score of 9.2. The EPSS score is less than 1 %, indicating a low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Attack vectors are limited to the delivery of a crafted SVG file that is subsequently rendered by ImageMagick; no additional privileges or remote capabilities are explicitly required. As the injected commands are interpreted during rendering, the impact is confined to the rendering process and the output it produces.

Generated by OpenCVE AI on July 29, 2026 at 23:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update ImageMagick to version 7.1.2-15 or later, or version 6.9.13-40 or later, to eliminate the SVG decoder flaw.
  • Disable the SVG decoder plugin or remove SVG support to eliminate the attack surface.
  • Restrict handling of SVG files to trusted users or preprocess the SVG input with validation and sanitization to prevent injection of malicious MVG commands.

Generated by OpenCVE AI on July 29, 2026 at 23:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

cvssV4_0

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

cvssV3_1

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

cvssV4_0

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


Wed, 24 Jun 2026 12:15:00 +0000

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

None

threat_severity

Important


Tue, 23 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 23 Jun 2026 12:45:00 +0000

Type Values Removed Values Added
Description ImageMagick before 7.1.2-15 and 6.9.13-40 contains a command injection vulnerability in the SVG decoder that allows attackers to inject arbitrary MVG drawing commands. Attackers can craft malicious SVG files with injected Magick Vector Graphics commands that execute during rendering.
Title ImageMagick - Command Injection via SVG Decoder
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-116
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-15T00:42:36.269Z

Reserved: 2026-06-21T02:05:47.495Z

Link: CVE-2026-56379

cve-icon Vulnrichment

Updated: 2026-07-15T00:42:36.269Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-06-23T12:13:05Z

Links: CVE-2026-56379 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T23:45:03Z

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')