8.4

CVE-2026-59858: vim Code Injection

CVSS: 8.4v4.0HighAnalyzed
AliasesALPINE-CVE-2026-59858UBUNTU-CVE-2026-59858DEBIAN-CVE-2026-59858
Published 09-07-2026Last modified 14-07-2026

Vulnerability summary

CVE-2026-59858 is a high (CVSS 8.4) Code Injection vulnerability in vim. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 2.8% of scored vulnerabilities.

Overall risk
34/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.4/10
010
High · v4.0 (CVE.org)
EPSS score
0.14%
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 20 · Related 10

Timeline

  1. 09-07-2026
    PublishedVulnerability first disclosed.
  2. 14-07-2026
    Last modifiedVulnerability information updated.

Description

Vim is an open source, command line text editor. Prior to 9.2.0735, the C omni-completion script in runtime/autoload/ccomplete.vim interpolates the typeref: or typename: extension field of a tags entry, without escaping, into a :vimgrep pattern that is run through :execute. Because :vimgrep honors the bar as a command separator, a crafted tag field can close the search pattern and append an arbitrary Ex command; opening a hostile .c file whose project tags file contains such an entry and invoking C omni-completion runs that command as the editing user. This issue is fixed in version 9.2.0735.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.14%

Chance of exploitation in the next 30 days

Percentile

3%

Versus all other CVEs

30-day change

0.00 pp

From 0.14% on 19-09-2026

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

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

Alpine1 product
  • vim< 9.2.0854-r0
Debian1 product
  • vimAll versions (No fix recorded) | < 2:9.2.0782-1
Ubuntu1 product
  • vim< 2:9.1.2141-1ubuntu4.7 | < 2:7.4.052-1ubuntu3.1+esm31 | < 2:7.4.1689-3ubuntu1.5+esm37 | < 2:8.0.1453-1ubuntu1.13+esm22 | < 2:8.1.2269-1ubuntu5.32+esm10 | < 2:8.2.3995-1ubuntu2.34 | < 2:9.1.0016-1ubuntu7.18
Vim1 product

4 vendors · 4 products

References

7 links