CVE-2025-27423
published 2025-03-03CVE-2025-27423: 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…
PriorityP347high7.1CVSS 3.1
AVLACLPRNUIRSUCHIHAN
EPSS
20.77%
97.2th percentile
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
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | < vim 2:9.1.1230-1 (forky) | vim 2:9.1.1230-1 (forky) |
| msrc | azl3_vim_9.1.0791-4_on_azure_linux_3.0 | — | — |
| msrc | azl3_vim_9.1.1164-1_on_azure_linux_3.0 | — | — |
| msrc | cbl2_vim_9.1.0791-4_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_vim_9.1.1164-1_on_cbl_mariner_2.0 | — | — |
| vim | vim | < 9.1.1164 | 9.1.1164 |
| vim | vim | >= 0 < 2:9.1.1230-1 | 2:9.1.1230-1 |
| vim | vim | >= 0 < 2:9.1.1230-1 | 2:9.1.1230-1 |
| vim | vim | >= 9.1.0858 < 9.1.1164 | 9.1.1164 |
CVSS provenance
nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
osv7.1HIGH
vendor_debian7.1LOW
vendor_msrc7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
Improper Input Validation in Vim
vendor_msrc·2025-03-11·CVSS 7.1
CVE-2025-27423 [HIGH] CWE-77 Improper Input Validation in Vim
Improper Input Validation in Vim
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.com/en
Red Hat
vim: Improper Input Validation in Vim
vendor_redhat·2025-03-03·CVSS 7.1
CVE-2025-27423 [HIGH] CWE-77 vim: Improper Input Validation in Vim
vim: Improper Input Validation in Vim
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
A flaw was found in the tar.vim plugin of Vim. This vulnerability allows arbitrary command execution via specially crafted tar archives that exploit the unsanitized :read
Debian
CVE-2025-27423: vim - Vim is an open source, command line text editor. Vim is distributed with the tar...
vendor_debian·2025·CVSS 7.1
CVE-2025-27423 [HIGH] CVE-2025-27423: vim - Vim is an open source, command line text editor. Vim is distributed with the tar...
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
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved (fixed in 2:9.1.1230-1)
sid: resolved (fixed in 2:9.1.1230-1)
trixie: resolved (fixed in 2:9.1.1230-1)
OSV
CVE-2025-27423: Vim is an open source, command line text editor
osv·2025-03-03·CVSS 7.1
CVE-2025-27423 [HIGH] CVE-2025-27423: Vim is an open source, command line text editor
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
No detection rules found.
No public exploits indexed.
2025-03-03
Published