Untrusted search path in Vim - CVE-2025-66476
Published: December 3, 2025 / Updated: March 16, 2026
Vulnerability identifier: #VU119081
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-66476
CWE-ID: CWE-426
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Vim.org
Affected software:
Vim
Vim
Detailed vulnerability description
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to usage of an untrusted search path in Vim on Windows. A remote attacker can trick the victim into opening a specially crafted file with the editor and execute arbitrary OS commands on the system.
How to mitigate CVE-2025-66476
Install updates from vendor's website.