CVE-2025-66476
Vim vulnerability analysis and mitigation

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.


SourceNVD

Related Vim vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66476HIGH7.8
  • VimVim
  • vim
NoYesDec 02, 2025
CVE-2025-55158MEDIUM6.9
  • VimVim
  • cpe:2.3:a:vim:vim
NoYesAug 11, 2025
CVE-2025-55157MEDIUM6.9
  • VimVim
  • cpe:2.3:a:vim:vim
NoYesAug 11, 2025
CVE-2025-9390MEDIUM4.8
  • VimVim
  • vim
NoYesAug 24, 2025
CVE-2025-9389MEDIUM4.8
  • VimVim
  • vim-filesystem
NoYesAug 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management