Description
Vim is an open source, command line text editor. Prior to 9.2.0845, StructMembers() in runtime/autoload/ccomplete.vim constructs and executes a vimgrep command using an insufficiently escaped typeref: or typename: value from a tags file, allowing an unterminated collection followed by a command separator to execute arbitrary Ex and operating-system commands when a user invokes C omni-completion with CTRL-X CTRL-O on a member access whose type is resolved from that tags file. This issue is fixed in version 9.2.0845.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-94 — CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-829 — CWE-829: Inclusion of Functionality from Untrusted Control Sphere
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vim | vim | < 9.2.0845 |
References
- https://github.com/vim/vim/security/advisories/GHSA-cx73-phcg-3j5g (x_refsource_CONFIRM)
- https://github.com/vim/vim/commit/2f628d8104958fa7421664f792ca6d4f7a39a10f (x_refsource_MISC)
- https://github.com/vim/vim/releases/tag/v9.2.0845 (x_refsource_MISC)
Generated from the official CVE List on 19 Aug 2026 07:05 UTC.