CVE-2026-39881 json
Vim Ex command injection in Vims NetBeans integration
published 7mo ago modified 3mo ago also EUVD-2026-20622
- cvss
- 5.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- vim vim 9.2.0316
- vim Debian 13 2:9.1.1230-2+deb13u1
- vim Debian 14 2:9.2.0338-1
debian advisories DEBIAN-CVE-2026-39881
- vim Ubuntu 22.04 LTS 2:8.2.3995-1ubuntu2.28
- vim Ubuntu 24.04 LTS 2:9.1.0016-1ubuntu7.12
- vim Ubuntu 25.10 2:9.1.0967-1ubuntu6.3
- vim Ubuntu 26.04 LTS 2:9.1.2141-1ubuntu4.1
- vim Ubuntu Pro 14.04 LTS 2:7.4.052-1ubuntu3.1+esm25
- vim Ubuntu Pro 16.04 LTS 2:7.4.1689-3ubuntu1.5+esm31
- vim Ubuntu Pro 18.04 LTS 2:8.0.1453-1ubuntu1.13+esm16
- vim Ubuntu Pro 20.04 LTS 2:8.1.2269-1ubuntu5.32+esm4
ubuntu advisories UBUNTU-CVE-2026-39881
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- vim hummingbird 1 9.2.967-1.1.hum1
- xxd hummingbird 1 9.2.967-1.1.hum1
- vim-X11 hummingbird 1 9.2.967-1.1.hum1
- vim-data hummingbird 1 9.2.967-1.1.hum1
- vim-common hummingbird 1 9.2.967-1.1.hum1
- vim-minimal hummingbird 1 9.2.967-1.1.hum1
- vim-enhanced hummingbird 1 9.2.967-1.1.hum1
- vim-filesystem hummingbird 1 9.2.967-1.1.hum1
red hat advisories RHSA-2026:57614
- vim SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +3 more 9.2.0530-150000.5.94.1
- vim Linux Micro Extras 6.2 9.2.0530-160000.1.1
suse advisories SUSE-SU-2026:2313-1SUSE-SU-2026:21833-1
- vim openSUSE Tumbleweed 9.2.0398-1.1
opensuse advisories openSUSE-SU-2026:10652-1
- vim Alpine 3.24, Alpine 3.23 9.2.0321-r0
alpine advisories ALPINE-CVE-2026-39881
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2026-39881 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-39881 updated cvss 5.0
vim: Vim: Arbitrary code execution via command injection in NetBeans interface
-
Red Hat Enterprise Linux 6 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 7 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 8 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 9 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 10 vim Red Hat OpenShift Container Platform 4 rhcosaffected: workaround, no fix available “Users should refrain to connect to untrusted netbeans server.”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9under investigation
-
Red Hat Hardened Images vim 9.2.967-1.1.hum1, xxd 9.2.967-1.1.hum1, vim-X11 9.2.967-1.1.hum1, vim-data 9.2.967-1.1.hum1, vim-common 9.2.967-1.1.hum1, vim-minimal 9.2.967-1.1.hum1, +3 morefixed: vendor fix “Users should refrain to connect to untrusted netbeans server.” RHSA-2026:57614
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7mo ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected products
- vim vim
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
Sources
- CVE List CVE-2026-39881
- NVD CVE-2026-39881
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.