RCE in Vim

CVE-2026-39881

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.

Vulnerability class: RCE (Remote Code Execution)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N.

EPSS exploit prediction

EPSS: 0.008 (53.5th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 53.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-39881: held from 0.006 to 0.008.

EPSS over last 30 days · oldest: 0.006 · newest: 0.008 · change: +0.001

Affected products

  • Vim — versions < 9.2.0316

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-39881?
CVE-2026-39881 is a medium-severity vulnerability in Vim, classified under Code Injection. CVSS score: 5.0/10. Published 2026-04-08.
How severe is CVE-2026-39881?
Medium severity. CVSS v3 base score is 5.0 out of 10.