OS Command Injection in Vim - CVE-2026-39881
Published: April 8, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation in NetBeans integration. A remote user can pass specially crafted data to the application and execute arbitrary OS commands on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Micro
SUSE Linux Micro Extras
Ubuntu
Basesystem Module
Desktop Applications Module
openSUSE Leap
Anolis OS
Fedora
vim-common
vim-X11
vim-filesystem
vim-doc
vim-minimal
vim-enhanced
vim-data
vim
vim-data-common
vim-debugsource
gvim-debuginfo
gvim
vim-debuginfo
vim-small
vim-small-debuginfo
xxd
xxd-debuginfo
vim (Ubuntu package)
vim (Debian package)
How to mitigate CVE-2026-39881
vim-common - update to 9.0.2092-12
vim-X11 - update to 9.0.2092-12
vim-filesystem - update to 9.0.2092-12
vim-doc - update to 9.0.2092-12
vim-minimal - update to 9.0.2092-12
vim-enhanced - update to 9.0.2092-12
vim-data - update to 9.0.2092-12
vim - addressed in versions 9.2.390-1.fc42, 9.2.390-1.fc43, 9.2.390-1.fc44
vim-data - addressed in versions 9.2.0398-17.65.1, 9.2.0398-150500.20.49.1, 9.2.0530-150000.5.94.1
vim-data-common - addressed in versions 9.2.0398-17.65.1, 9.2.0398-150500.20.49.1, 9.2.0530-150000.5.94.1, 9.2.0530-160000.1.1
vim-debugsource - addressed in versions 9.2.0398-17.65.1, 9.2.0398-150500.20.49.1, 9.2.0530-150000.5.94.1, 9.2.0530-160000.1.1
gvim-debuginfo - addressed in versions 9.2.0398-17.65.1, 9.2.0398-150500.20.49.1, 9.2.0530-150000.5.94.1
gvim - addressed in versions 9.2.0398-17.65.1, 9.2.0398-150500.20.49.1, 9.2.0530-150000.5.94.1
vim-debuginfo - addressed in versions 9.2.0398-17.65.1, 9.2.0398-150500.20.49.1, 9.2.0530-150000.5.94.1, 9.2.0530-160000.1.1
vim - addressed in versions 9.2.0398-17.65.1, 9.2.0398-150500.20.49.1, 9.2.0530-150000.5.94.1, 9.2.0530-160000.1.1
vim-small - addressed in versions 9.2.0398-150500.20.49.1, 9.2.0530-150000.5.94.1, 9.2.0530-160000.1.1
vim-small-debuginfo - addressed in versions 9.2.0398-150500.20.49.1, 9.2.0530-150000.5.94.1, 9.2.0530-160000.1.1
xxd - update to 9.2.0530-160000.1.1
xxd-debuginfo - update to 9.2.0530-160000.1.1
vim (Ubuntu package) - addressed in versions 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:8.2.3995-1ubuntu2.29, 2:9.1.0016-1ubuntu7.12, 2:9.1.0016-1ubuntu7.13, 2:9.1.0967-1ubuntu6.3, 2:9.1.0967-1ubuntu6.4, 2:9.1.2141-1ubuntu4.1
vim (Debian package) - update to 2:9.1.1230-2+deb13u1