JLSEC-2026-1888: High severity julia/vim_jll vulnerability
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
vim/vimto a version that resolves this vulnerability.Fixed in 9.2.0735
Event History
Frequently Asked Questions
What must happen for an attacker to exploit this issue?
The victim must open a hostile C file in a project with a crafted tags entry and invoke C omni-completion. The crafted typeref: or typename: field can then cause an arbitrary Ex command to run as the editing user.
Is this remotely exploitable without user interaction?
No. The provided vector is local and requires user interaction; exploitation depends on the user invoking C omni-completion after opening the attacker-controlled project content.
Which versions contain the fix?
The issue is fixed in Vim version 9.2.0735. Versions prior to 9.2.0735 are affected according to the provided information.
What can be done if upgrading is not immediately possible?
Avoid opening untrusted C projects with untrusted tags files, and do not invoke C omni-completion when working with them. This prevents the affected script from processing attacker-controlled typeref: or typename: tag fields.