Vim up to 9.1.1946 on Windows cmd.exe uncontrolled search path

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.2$0-$5k0.00

Summaryinfo

A vulnerability was found in Vim up to 9.1.1946 on Windows. It has been classified as problematic. The impacted element is an unknown function of the file cmd.exe. Performing a manipulation results in uncontrolled search path. This vulnerability was named CVE-2025-66476. The attack needs to be approached locally. There is no available exploit. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability classified as critical has been found in Vim up to 9.1.1946 on Windows. This affects an unknown code block of the file cmd.exe. The manipulation with an unknown input leads to a uncontrolled search path vulnerability. CWE is classifying the issue as CWE-427. The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

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.

It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2025-66476 since 12/02/2025. The exploitability is told to be difficult. Attacking locally is a requirement. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1574 according to MITRE ATT&CK.

The vulnerability scanner Nessus provides a plugin with the ID 277418 (Linux Distros Unpatched Vulnerability : CVE-2025-66476), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 9.1.1947 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 083ec6d9a3b7b09006e0ce69ac802597d25 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (277418), EUVD (EUVD-2025-200373) and CERT Bund (WID-SEC-2025-2719). Be aware that VulDB is the high quality source for vulnerability data.

Affected

  • Open Source vim

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.4
VulDB Meta Temp Score: 7.2

VulDB Base Score: 7.0
VulDB Temp Score: 6.7
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 7.8
CNA Vector (GitHub_M): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Uncontrolled search path
CWE: CWE-427 / CWE-426
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 277418
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-66476

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Vim 9.1.1947
Patch: 083ec6d9a3b7b09006e0ce69ac802597d25

Timelineinfo

12/02/2025 CVE reserved
12/03/2025 +1 days Advisory disclosed
12/03/2025 +0 days VulDB entry created
12/04/2025 +1 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: GHSA-g77q-xrww-p834
Status: Confirmed

CVE: CVE-2025-66476 (🔒)
GCVE (CVE): GCVE-0-2025-66476
GCVE (VulDB): GCVE-100-334143
EUVD: 🔒
CERT Bund: WID-SEC-2025-2719 - vim: Schwachstelle ermöglicht Codeausführung

Entryinfo

Created: 12/03/2025 07:49
Updated: 12/04/2025 20:53
Changes: 12/03/2025 07:49 (69), 12/03/2025 10:17 (1), 12/03/2025 18:50 (7), 12/04/2025 20:53 (2)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!