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

Published Apr 8, 2026
·
Updated

Vim Ex command injection in Vims NetBeans integration

Other sources

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.

NVD

Affected Software

2 affected componentsFixes available
Microsoft azl3 vim 9.2.0240-1
vim Vim<9.2.0316

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Vim to a version that resolves this vulnerability.

    Fixed in 9.2.0316

Event History

Apr 8, 2026
CVE Published
via MITRE·08:18 PM
Data Sourced
via MITRE·08:18 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 10, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-39881?

The severity of CVE-2026-39881 is considered high due to its potential for arbitrary command execution.

2

How do I fix CVE-2026-39881?

To fix CVE-2026-39881, upgrade to Vim version 9.2.0316 or later.

3

Who is affected by CVE-2026-39881?

CVE-2026-39881 affects users of Vim versions prior to 9.2.0316, particularly those using the NetBeans integration.

4

What kind of exploitation can occur with CVE-2026-39881?

CVE-2026-39881 allows a malicious NetBeans server to execute arbitrary Ex commands on the affected Vim installation.

5

Is there a workaround for CVE-2026-39881?

The best practice is to upgrade to a fixed version, as no official workaround is recommended for CVE-2026-39881.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203