What’s Vulnerable › Vulnerabilities

CVE-2026-39881: Vim Ex command injection in Vims NetBeans integration

Description

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 products

How to fix

Upgrade to a fixed version: vim/vim 9.2.0316. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-39881 or the next vulnerability affects your stack