8.8

CVE-2026-47162: vim Injection

CVSS: 8.8v3.1HighModified
AliasesUBUNTU-CVE-2026-47162DEBIAN-CVE-2026-47162
Published 11-06-2026Last modified 18-09-2026

Vulnerability summary

CVE-2026-47162 is a high (CVSS 8.8) Injection vulnerability in vim. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 16.6% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
0.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 1

Timeline

  1. 11-06-2026
    PublishedVulnerability first disclosed.
  2. 18-09-2026
    Last modifiedVulnerability information updated.

Description

Vim is an open source, command line text editor. Prior to version 9.2.0495, a Vimscript code injection vulnerability exists in s:NetrwBookHistSave() in the netrw plugin (runtime/pack/dist/opt/netrw/autoload/netrw.vim) when serializing browsed directory paths to the history file ~/.vim/.netrwhist. A directory name derived from the filesystem is interpolated into a single-quoted Vimscript string literal without escaping embedded single quotes, allowing a crafted directory name to break out of the string context and execute arbitrary Vimscript, including shell commands via system() and :!, the next time the history file is sourced. This issue has been patched in version 9.2.0495.

CVSS metrics

7 scores · 4 sources · 2 versions

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

0.00 pp

From 0.26% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.26%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • vimAll versions (No fix recorded) | < 2:9.2.0524-1
Ubuntu1 product
  • vim< 2:7.4.052-1ubuntu3.1+esm29 | < 2:7.4.1689-3ubuntu1.5+esm35 | < 2:8.0.1453-1ubuntu1.13+esm20 | < 2:8.1.2269-1ubuntu5.32+esm8 | < 2:8.2.3995-1ubuntu2.32 | < 2:9.1.0016-1ubuntu7.16 | < 2:9.1.0967-1ubuntu6.7 | < 2:9.1.2141-1ubuntu4.5
Vim1 product

3 vendors · 3 products

References

19 links
Show all 19 references