JLSEC-2026-1864: Command Injection
Vim is an open source, command line text editor. Prior to 9.2.0316, a command injection vulnerability in Vim's netbeans interface allows a malicious netbeans server to execute arbitrary Ex commands when Vim connects to it, via unsanitized strings in the defineAnnoType and specialKeys protocol messages. This vulnerability is fixed in 9.2.0316.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
vimto a version that resolves this vulnerability.Fixed in 9.2.0316
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of Vim versions before 9.2.0316 are exposed when their Vim instance connects to a malicious NetBeans server through the NetBeans interface.
What does exploitation require?
An attacker needs to operate or control a malicious NetBeans server and induce the user to connect Vim to it. The server can then send crafted defineAnnoType or specialKeys protocol messages.
What should be done if an update cannot be applied immediately?
Avoid connecting Vim to untrusted NetBeans servers until the update is available. The issue is fixed in Vim 9.2.0316.