OS Command Injection in Vim - CVE-2026-46483

 

OS Command Injection in Vim - CVE-2026-46483

Published: May 15, 2026


Vulnerability identifier: #VU131544
CSH Severity: Low
CVSS v4: 1.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-46483
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary shell commands.

The vulnerability exists due to improper neutralization of special elements in tar#Vimuntar() in runtime/autoload/tar.vim when decompressing .tgz archives via :Vimuntar on Unix-like systems. A remote attacker can supply a crafted archive filename to execute arbitrary shell commands.

User interaction is required to open the crafted file and invoke the non-routine :Vimuntar command, and only Unix-like systems with the tar plugin enabled are vulnerable.


Affected software

Vim
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Micro
SUSE Linux Micro Extras
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Ubuntu
openEuler
Anolis OS
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
vim (Ubuntu package)
vim (Red Hat package)
vim-minimal
vim-filesystem
vim-enhanced
vim-debugsource
vim-debuginfo
vim-common
vim-X11
vim
vim-doc
vim-data
vim-data-common
vim-small-debuginfo
vim-small
gvim
gvim-debuginfo
xxd-debuginfo
xxd

How to mitigate CVE-2026-46483

Install security update from vendor's website.

Vim - update to 9.2.0479
vim (Ubuntu package) - addressed in versions 2:7.4.052-1ubuntu3.1+esm28, 2:7.4.1689-3ubuntu1.5+esm34, 2:8.0.1453-1ubuntu1.13+esm19, 2:8.1.2269-1ubuntu5.32+esm7, 2:8.2.3995-1ubuntu2.31, 2:9.1.0016-1ubuntu7.15, 2:9.1.0967-1ubuntu6.6, 2:9.1.2141-1ubuntu4.3
vim (Red Hat package) - addressed in versions 8.0.1763-15.el8_4.2, 8.0.1763-19.el8_6.6, 8.0.1763-20.el8_8.2, 8.2.2637-20.el9_2.2, 8.2.2637-20.el9_4.3, 8.2.2637-22.el9_6.3
vim-minimal - addressed in versions 9.0-48, 9.0.2092-34
vim-filesystem - addressed in versions 9.0-48, 9.0.2092-34
vim-enhanced - addressed in versions 9.0-48, 9.0.2092-34
vim-debugsource - addressed in versions 9.0-48, 9.0.2092-34
vim-debuginfo - addressed in versions 9.0-48, 9.0.2092-34
vim-common - addressed in versions 9.0-48, 9.0.2092-34
vim-X11 - addressed in versions 9.0-48, 9.0.2092-34
vim - addressed in versions 9.0-48, 9.0.2092-34
vim-common - update to 9.0.2092-15
vim-filesystem - update to 9.0.2092-15
vim-doc - update to 9.0.2092-15
vim-data - update to 9.0.2092-15
vim-minimal - update to 9.0.2092-15
vim-enhanced - update to 9.0.2092-15
vim-X11 - update to 9.0.2092-15
vim - addressed in versions 9.2.506-2.fc43, 9.2.530-1.fc43
vim-data-common - addressed in versions 9.2.0530-slfo.1.1_1.1, 9.2.0530-150000.5.94.1, 9.2.0530-160000.1.1
vim-small-debuginfo - addressed in versions 9.2.0530-slfo.1.1_1.1, 9.2.0530-150000.5.94.1, 9.2.0530-160000.1.1
vim-small - addressed in versions 9.2.0530-slfo.1.1_1.1, 9.2.0530-150000.5.94.1, 9.2.0530-160000.1.1
vim-debugsource - addressed in versions 9.2.0530-slfo.1.1_1.1, 9.2.0530-150000.5.94.1, 9.2.0530-160000.1.1
vim-debuginfo - addressed in versions 9.2.0530-slfo.1.1_1.1, 9.2.0530-150000.5.94.1, 9.2.0530-160000.1.1
vim - addressed in versions 9.2.0530-slfo.1.1_1.1, 9.2.0530-150000.5.94.1, 9.2.0530-160000.1.1
gvim - update to 9.2.0530-150000.5.94.1
gvim-debuginfo - update to 9.2.0530-150000.5.94.1
vim-data - update to 9.2.0530-150000.5.94.1
xxd-debuginfo - update to 9.2.0530-160000.1.1
xxd - update to 9.2.0530-160000.1.1

External References

Related Security Bulletins