CVE Explorer
CVE-2026-59858
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 invokin
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"vim","vendor":"vim","versions":[{"status":"affected","version":"< 9.2.0735"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:163f62cf1908587fda3d3644454bb26613da1e15a12c31461e1d8fc8abd86408 · sha256:83b6d128b066f53b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":8.4,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:163f62cf1908587fda3d3644454bb26613da1e15a12c31461e1d8fc8abd86408 · sha256:83b6d128b066f53b… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:163f62cf1908587fda3d3644454bb26613da1e15a12c31461e1d8fc8abd86408 · sha256:83b6d128b066f53b… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/vim/vim/commit/6b611b0d15603c52ebdad17172b0232b4f65704e","tags":["x_refsource_MISC"],"url":"https://github.com/vim/vim/commit/6b611b0d15603c52ebdad17172b0232b4f65704e"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:163f62cf1908587fda3d3644454bb26613da1e15a12c31461e1d8fc8abd86408 · sha256:83b6d128b066f53b… · /containers/cna/references/1
{"name":"https://github.com/vim/vim/security/advisories/GHSA-mf92-v4xw-j45x","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vim/vim/security/advisories/GHSA-mf92-v4xw-j45x"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:163f62cf1908587fda3d3644454bb26613da1e15a12c31461e1d8fc8abd86408 · sha256:83b6d128b066f53b… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.