CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Vim

CVE-2025-66476
Vim vulnerability

Vim is an open source, command line text editor. Prior to version 9.1.1947, an uncontrolled search path vulnerability on Windows allows Vim to execute malicious executables placed in the current working directory for the current edited file. On Windows, when using cmd.exe as a shell, Vim resolves external commands by searching the current working directory before system paths. When Vim invokes tools such as findstr for :grep, external commands or filters via :!, or compiler/:make commands, it may inadvertently run a malicious executable present in the same directory as the file being edited. The issue affects Vim for Windows prior to version 9.1.1947.

Affected products

Vim. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Vim runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Vim products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.