Insecure DLL loading in Vim - #VU170821

 

Insecure DLL loading in Vim - #VU170821

Published: November 29, 2026


Vulnerability identifier: #VU170821
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-427
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code with the privileges of the user running Vim.

The vulnerability exists due to an uncontrolled search path in Vim on Windows when job_start(), term_start() with ConPTY, or the list-argument forms of system() and systemlist() launch a program by name and search the current directory before trusted locations. A remote attacker can supply a project directory containing a malicious executable that runs when the victim works in that directory and a script or plugin invokes a program with the same name.


Affected software

Vim

Remediation

Install security update from vendor's website.

Vim - update to 9.2.1421

External References

Related Security Bulletins