CVE-2025-27423 Improper Input Validation in Vim
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-27423 vendor-advisory
- https://github.com/vim/vim/security/advisories/GHSA-wfmf-8626-q3r3 vendor-advisory
- https://github.com/vim/vim/commit/129a8446d23cd9cb4445fcfea259cba5e0487d29 patch
- https://github.com/vim/vim/commit/334a13bff78aa0ad206bc436885f63e3a0bab399 patch
- security.netapp.com third-party-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking