CVE Explorer
CVE-2026-59856
Vim is an open source, command line text editor. Prior to 9.2.0736, the PHP omni-completion script in runtime/autoload/phpcomplete.vim interpolates a class or trait name, taken from the contents of the edited buffer, into a search() pattern that is run via win_execute() without escaping. A name containing a single quote can terminate the search() string argument early, and because the bar is honored as an Ex command separator, the remainder of the name is run as Ex commands; via the :! command t
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.0736"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e31281ab132ab2cbb82fa4baa93f886b5917f092d76fe258dd92b3723c5fbf06 · sha256:abba28a3440e7c0e… · /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:e31281ab132ab2cbb82fa4baa93f886b5917f092d76fe258dd92b3723c5fbf06 · sha256:abba28a3440e7c0e… · /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:e31281ab132ab2cbb82fa4baa93f886b5917f092d76fe258dd92b3723c5fbf06 · sha256:abba28a3440e7c0e… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/vim/vim/commit/43afc581a37a35762dd0ef292f038b9dc5680a24","tags":["x_refsource_MISC"],"url":"https://github.com/vim/vim/commit/43afc581a37a35762dd0ef292f038b9dc5680a24"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e31281ab132ab2cbb82fa4baa93f886b5917f092d76fe258dd92b3723c5fbf06 · sha256:abba28a3440e7c0e… · /containers/cna/references/1
{"name":"https://github.com/vim/vim/security/advisories/GHSA-fh26-8f79-wj97","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vim/vim/security/advisories/GHSA-fh26-8f79-wj97"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e31281ab132ab2cbb82fa4baa93f886b5917f092d76fe258dd92b3723c5fbf06 · sha256:abba28a3440e7c0e… · /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.