cve.bz

CVE-2026-116148 imagemagick imagemagick: Cross-site Scripting

4.8 mediumEPSS 0.1%

Medium (4.8) in imagemagick imagemagick. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

4.8 medium
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

CVSS 3.1

3.6 low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
EPSS
0.1% (unchanged from 0.1% a week ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-116148 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-116148?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-116148?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-116148 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-116148

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-116148](https://cve.bz/cve/badge/CVE-2026-116148.svg)](https://cve.bz/cve/CVE-2026-116148)

HTML:

<a href="https://cve.bz/cve/CVE-2026-116148"><img src="https://cve.bz/cve/badge/CVE-2026-116148.svg" alt="CVE-2026-116148"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
ImageMagickfrom 7.0.0-0 before 7.1.2-33
ImageMagickbefore 6.9.13-58

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12imagemagick8:6.9.11.60+dfsg-1.6+deb12u15DEBIAN-CVE-2026-116148
Debian13imagemagick8:7.1.1.43+dfsg1-1+deb13u14DEBIAN-CVE-2026-116148
Debian14imagemagick8:7.1.2.33+dfsg1-1DEBIAN-CVE-2026-116148
Ubuntu26.10, Pro:14.04:LTS, Pro:16.04:LTS and 5 moreimagemagickno fix listedUBUNTU-CVE-2026-116148
openSUSETumbleweedImageMagick7.1.2.34-3.1openSUSE-SU-2026:12356-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This flaw is rated as a Low severity issue for Red Hat products because exploitation requires targeted user interaction or an application accepting untrusted drawing parameters, restricting the impact to injecting formatting directives into generated vector files. The vulnerability does not allow direct arbitrary system command execution or service disruption, confining the blast radius to minor data exposure within the rendered vector context. Furthermore, ImageMagick is utilized as a standalone utility or library rather than an exposed network daemon in typical Red Hat Enterprise Linux deployments.

Red Hat's mitigation

Disable the MVG coder in the ImageMagick security policy configuration.

Add the following policy directive inside the `<policymap>` block in `/etc/ImageMagick-6/policy.xml` (or `/etc/ImageMagick/policy.xml` depending on the installation):

```xml

<policy domain="coder" rights="none" pattern="MVG" />

```

Caveats:

Disabling the MVG coder prevents ImageMagick from processing, rendering, or generating Magick Vector Graphics files, which may impact applications relying on this format. If ImageMagick is invoked by background application services or web servers (such as httpd or php-fpm), restart those services after modifying the configuration file.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6ImageMagickOut of support scope
Red Hat Enterprise Linux 7ImageMagickFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-116148.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON