CVE-2025-27423
Improper Input Validation in Vim
Reported by github_m · Published March 3, 2025
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| vim | Alpine | 9.1.1164-r0 |
| vim | vim | 9.1.1164 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vim | vim | < 9.1.1164 |
| alpine | vim | 0 |
| vim | vim | 0 |
Timeline
- Mar 2, 2025 CVE Published
- Mar 3, 2025 PoC Published (13 in total, the first dated here)
- Mar 4, 2025 EPSS Score (30 in total, the first dated here)
- Mar 6, 2025 Coalition ESS Score (10 in total, the first dated here)
- Aug 18, 2025 CVE Updated
- Dec 18, 2025 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-27423
vulnetix vdb fixes CVE-2025-27423
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-27423/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/vim/vim/security/advisories/GHSA-wfmf-8626-q3r3 x_refsource_CONFIRM
- https://github.com/vim/vim/commit/129a8446d23cd9cb4445fcfea259cba5e0487d29 x_refsource_MISC
- https://github.com/vim/vim/commit/334a13bff78aa0ad206bc436885f63e3a0bab399 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20250502-0002/ url