CVE-2025-27423

Name
CVE-2025-27423
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
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/vim/vim/commit/129a8446d23cd9cb4445fcfea259cba5e0487d29
MISC https://github.com/vim/vim/commit/334a13bff78aa0ad206bc436885f63e3a0bab399
CONFIRM https://github.com/vim/vim/security/advisories/GHSA-wfmf-8626-q3r3

Match rules

CPE URI Source package Min version Max version
vim >= 0 < 9.1.1164

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
vim edge-main 9.1.1164-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
vim edge-main 9.1.0707-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
vim edge-main 9.1.0936-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
vim edge-main 9.1.1012-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
vim edge-main 9.1.1105-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable