Insecure DLL loading in Microsoft Visual Studio Code



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2025-24039
CWE-ID CWE-427
Exploitation vector Local
Public exploit N/A
Vulnerable software
Visual Studio Code
Universal components / Libraries / Software for developers

Vendor Microsoft

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Insecure DLL loading

EUVDB-ID: #VU103818

Risk: Low

CVSSv4.0: 1.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2025-24039

CWE-ID: CWE-427 - Uncontrolled Search Path Element

Exploit availability: No

Description

The vulnerability allows a local user to compromise vulnerable system.

The vulnerability exists due to the application loads DLL libraries in an insecure manner in Visual Studio Code. A local user can place a specially crafted .dll file, trick the victim into opening a file, associated with the vulnerable application and gain elevated privileges on the target system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Visual Studio Code: All versions

CPE2.3 External links

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-24039


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###