CVE-2023-23381 Visual Studio Remote Code Execution Vulnerability
An attacker can execute arbitrary code by exploiting a heap-based buffer overflow in Microsoft Visual Studio.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-23381?
CVE-2023-23381 is a high-severity memory corruption vulnerability in Microsoft Visual Studio 2017, published on 14 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Visual Studio Remote Code Execution Vulnerability
Weakness: CWE-122
Which versions are affected by CVE-2023-23381?
It affects 3 products.
Products include Microsoft Visual Studio 2017, Microsoft Visual Studio 2019, Microsoft Visual Studio 2022.
How do I fix CVE-2023-23381?
No fix has been published for CVE-2023-23381 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-23381 being exploited?
There is no known exploitation of CVE-2023-23381 in the wild and no public exploit code.
Other vulnerabilities in Microsoft Visual Studio 2017
- CVE-2025-21178 Visual Studio Remote Code Execution Vulnerability
- CVE-2019-1349 Code injection in Microsoft Visual Studio 2017
- CVE-2019-1350 Code injection in Microsoft Visual Studio 2017
- CVE-2019-1352 Code injection in Microsoft Visual Studio 2017
- CVE-2019-1354 Code injection in Microsoft Visual Studio 2017
Sources
Also known as GHSA-c2r3-vf5h-p5m9.