CVE-2026-46483

Vim is an open source, command line text editor. Prior to 9.2.0479, a command injection vulnerability exists in tar#Vimuntar() in runtime/autoload/tar.vim when decompressing .tgz archives on Unix-like systems. The function builds :!gunzip and :!gzip -d commands using shellescape(tartail) without the {special} flag, allowing a crafted archive filename to trigger Vim cmdline-special expansion and execute shell commands in the user's context. This vulnerability is fixed in 9.2.0479.
Configurations

Configuration 1 (hide)

cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*

History

11 Nov 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Vim es un editor de texto de código abierto y de línea de comandos. Antes de la versión 9.2.0479, existe una vulnerabilidad de inyección de comandos en tar#Vimuntar() en runtime/autoload/tar.vim al descomprimir archivos .tgz en sistemas tipo Unix. La función construye los comandos :!gunzip y :!gzip -d utilizando shellescape(tartail) sin la bandera {special}, lo que permite que un nombre de archivo malintencionado active la expansión especial de la línea de comandos de Vim (cmdline-special expansion) y ejecute comandos de shell en el contexto del usuario. Esta vulnerabilidad se corrigió en la versión 9.2.0479.

19 May 2026, 12:27

Type Values Removed Values Added
References () https://github.com/vim/vim/commit/3fb5e58fbc63d86a3e65f1a141b0d67af2aa38a1 - () https://github.com/vim/vim/commit/3fb5e58fbc63d86a3e65f1a141b0d67af2aa38a1 - Patch
References () https://github.com/vim/vim/releases/tag/v9.2.0479 - () https://github.com/vim/vim/releases/tag/v9.2.0479 - Product
References () https://github.com/vim/vim/security/advisories/GHSA-2fpv-9ff7-xg5w - () https://github.com/vim/vim/security/advisories/GHSA-2fpv-9ff7-xg5w - Patch, Vendor Advisory
First Time Vim vim
Vim
CPE cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*

15 May 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-15 15:16

Updated : 2026-11-11 20:10


NVD link : CVE-2026-46483

Mitre link : CVE-2026-46483

CVE.ORG link : CVE-2026-46483


JSON object : View

Products Affected

vim

  • vim
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-88

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')