Description
Vim is an open source, command line text editor. Vim is distributed with the tar.vim plugin, that allows easy editing and viewing of (compressed or uncompressed) tar files. Starting with 9.1.0858, the tar.vim plugin uses the ":read" ex command line to append below the cursor position, however the is not sanitized and is taken literally from the tar archive. This allows to execute shell commands via special crafted tar archives. Whether this really happens, depends on the shell being used ('shell' option, which is set using $SHELL). The issue has been fixed as of Vim patch v9.1.1164
References (4)
Core 4
Core References
Third Party Advisory
https://security.netapp.com/advisory/ntap-20250502-0002/
Vendor Advisory x_refsource_confirm
https://github.com/vim/vim/security/advisories/GHSA-wfmf-8626-q3r3
Patch x_refsource_misc
https://github.com/vim/vim/commit/129a8446d23cd9cb4445fcfea259cba5e0487d29
Patch x_refsource_misc
https://github.com/vim/vim/commit/334a13bff78aa0ad206bc436885f63e3a0bab399
Scores
CVSS v3
7.1
EPSS
0.0208
EPSS Percentile
84.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-77
Status
published
Products (2)
netapp/hci_compute_node
vim/vim
9.1.0858 - 9.1.1164
Published
Mar 03, 2025
Tracked Since
Feb 18, 2026