CVE-2026-116148

ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Code Injection via MVG Encoder Drawing Options

Published Oct 25, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains an injection vulnerability in the MVG encoder, which does not properly neutralize user-specified drawing options before writing them into generated MVG output. Attackers who can supply drawing options can inject arbitrary MVG drawing commands into the resulting MVG file.

Analysis

AI-generated

Technical impact

ImageMagick versions before 6.9.13‑58 and 7.x before 7.1.2‑33 contain an injection flaw in the MVG encoder. The encoder does not neutralize user‑specified drawing options before writing them into the generated MVG output, so an attacker who can supply drawing options can inject arbitrary MVG drawing commands into the resulting file. This flaw could allow malicious commands to be executed by any process that later interprets the injected drawing commands, representing a code injection vulnerability.

Affected Systems

All ImageMagick installations running a version earlier than 6.9.13‑58 or any 7.x release prior to 7.1.2‑33 are affected when the MVG encoder processes images.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity, and the availability of an EPSS metric or KEV listing is not reported, so the likelihood of exploitation is uncertain. Attackers must be able to supply drawing options, which can occur through malicious image uploads or other input vectors that reach the MVG encoder. While no active exploits are known, injection of arbitrary MVG commands could lead to unintended operations or further exploitation if those files are processed by downstream viewers or converters.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest ImageMagick release that includes the fix—6.9.13‑58 or later, or 7.1.2‑33 or later.
  • If an upgrade is not immediately possible, restrict or disable the MVG delegate by configuring the ImageMagick policy to disallow MVG encoding or to use an alternative format.
  • Validate and sanitize all user‑supplied drawing options before passing them to the MVG encoder; implement a whitelist of allowed options and reject or escape any unexpected commands.

Generated by OpenCVE AI on October 26, 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': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains an injection vulnerability in the MVG encoder, which does not properly neutralize user-specified drawing options before writing them into generated MVG output. Attackers who can supply drawing options can inject arbitrary MVG drawing commands into the resulting MVG file.
Title ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 Code Injection via MVG Encoder Drawing Options
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-79
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 5, 2026, 4:21 PM
Reserved
Oct 25, 2026, 12:21 PM
Status
Analyzed
Published
Oct 25, 2026, 2:16 PM
Modified
Nov 5, 2026, 5:17 PM
Severity
Low
Public date
Oct 25, 2026, 1:19 PM