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

- Priority: **Routine**
- Reason: Not severe (CVSS 5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-08 · Modified: 2026-04-09
- Aliases: ALPINE-CVE-2026-39881, UBUNTU-CVE-2026-39881, DEBIAN-CVE-2026-39881
- Record: https://cvemate.com/vulnerability/CVE-2026-39881 · JSON: https://cvemate.com/vulnerability/CVE-2026-39881/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.722%, percentile 55.355%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine vim (Alpine Linux): \< 9.2.0321-r0
- debian vim (Debian): All versions (No fix recorded) \| \< 2:9.1.1230-2+deb13u1 \| \< 2:9.2.0338-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm25 \| \< 2:7.4.1689-3ubuntu1.5+esm31 \| \< 2:8.0.1453-1ubuntu1.13+esm16 \| \< 2:8.1.2269-1ubuntu5.32+esm4 \| \< 2:8.2.3995-1ubuntu2.28 \| \< 2:9.1.0016-1ubuntu7.12 \| \< 2:9.1.0967-1ubuntu6.3 \| \< 2:9.1.2141-1ubuntu4.1
- vim vim: \< 9.2.0316

## References

- <https://github.com/vim/vim/security/advisories/GHSA-mr87-rhgv-7pw6>
- <https://github.com/vim/vim/commit/7ab76a86048ed492374ac6b19>
- <https://github.com/vim/vim/releases/tag/v9.2.0316>
- <https://security.alpinelinux.org/vuln/CVE-2026-39881>
- <https://ubuntu.com/security/CVE-2026-39881>
- <https://www.cve.org/CVERecord?id=CVE-2026-39881>
- <https://ubuntu.com/security/notices/USN-8213-1>
- <https://ubuntu.com/security/notices/USN-8246-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-39881>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39881>

---

Data as of 2026-12-05T07:06:25.733Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
