CVE-2025-66476
highpriority · track · 0EPSS 0.005 · 39 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-2719vim: Schwachstelle ermöglicht CodeausführungDeutsch2025-12-02csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in vim ausnutzen, um beliebigen Programmcode auszuführen.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://github.com/vim/vim/commit/083ec6d9a3b7b09006e0ce69ac802597d25cnnvd
- https://github.com/vim/vim/releases/tag/v9.1.1947cnnvd
- https://github.com/vim/vim/security/advisories/GHSA-g77q-xrww-p834cnnvd
- https://github.com/vim/vim/tagsPatchcnnvd
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-66476cnnvd
- https://github.com/vim/vim/commit/083ec6d9a3b7b09006e0ce69ac802597d25enisa_euvd
- https://github.com/vim/vim/releases/tag/v9.1.1947enisa_euvd
- https://github.com/vim/vim/security/advisories/GHSA-g77q-xrww-p834enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan