Skip to content

CVE-2025-27423 Improper Input Validation in Vim

HighCVSS 7.1 EPSS 22.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Debian

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

Upgrade path

9 packages: 8 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
netapp hci compute node All versions No fix listed No fix yet
alpine/vim(Alpine v3.22) >= 9.1.0858, < 9.1.1164-r0 9.1.1164-r0 Fixed
alpine/vim(Alpine v3.23) >= 9.1.0858, < 9.1.1164-r0 9.1.1164-r0 Fixed
alpine/vim(Alpine v3.24) >= 9.1.0858, < 9.1.1164-r0 9.1.1164-r0 Fixed
azure linux vim(Azure Linux 3.0) < 9.1.1164-1 9.1.1164-1 Fixed
cbl-mariner vim(CBL-Mariner 2.0) < 9.1.1164-1 9.1.1164-1 Fixed
debian/vim(Debian 13) < 2:9.1.1230-1 2:9.1.1230-1 Fixed
debian/vim(Debian 14) < 2:9.1.1230-1 2:9.1.1230-1 Fixed
vim = < 9.1.1164; >= 9.1.0858, < 9.1.1164 9.1.1164 Fixed

Affected products

ProductAffected versionsFixed in
azure linux vim(Azure Linux:3.0) < 9.1.1164-1 9.1.1164-1
cbl-mariner vim(CBL-Mariner:2.0) < 9.1.1164-1 9.1.1164-1
debian/vim(Debian:13) < 2:9.1.1230-1 2:9.1.1230-1
debian/vim(Debian:14) < 2:9.1.1230-1 2:9.1.1230-1
vim = < 9.1.1164 No fix listed
alpine/vim(Alpine:v3.22) >= 9.1.0858, < 9.1.1164-r0 9.1.1164-r0
alpine/vim(Alpine:v3.23) >= 9.1.0858, < 9.1.1164-r0 9.1.1164-r0
alpine/vim(Alpine:v3.24) >= 9.1.0858, < 9.1.1164-r0 9.1.1164-r0
vim >= 9.1.0858, < 9.1.1164 9.1.1164
netapp hci compute node All versions No fix listed

References