CVE-2023-23381 Visual Studio Remote Code Execution Vulnerability

High 7.8 Published Updated

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.

All Microsoft Visual Studio 2017 vulnerabilities

Sources

Also known as GHSA-c2r3-vf5h-p5m9.

Is CVE-2023-23381 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free