CVE-2024-38095 .NET and Visual Studio Denial of Service Vulnerability

High 7.5 Published Updated

Attackers can cause a denial of service in .NET and Visual Studio environments, requiring developers to apply security patches.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-38095?

CVE-2024-38095 is a high-severity denial of service vulnerability in Microsoft .Net, published on 9 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

.NET and Visual Studio Denial of Service Vulnerability

Weakness: CWE-20

Which versions are affected by CVE-2024-38095?

40 open source packages ship an affected version, including Microsoft.NetCore.App.Runtime.linux-arm, dotnet and dotnet-sdk. It affects 2 products.

PackageAffectedFixed in
Microsoft.NetCore.App.Runtime.linux-arm NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.linux-arm NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.linux-arm NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.linux-arm NuGetFrom 8.0.08.0.7
dotnet BitnamiFrom 8.0.08.0.7
dotnet-sdk BitnamiFrom 8.0.08.0.7
34 more packages
Microsoft.NetCore.App.Runtime.linux-arm64 NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.linux-arm64 NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.linux-arm64 NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.linux-arm64 NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.linux-musl-arm NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.linux-musl-arm NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.linux-musl-arm NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.linux-musl-arm NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.linux-musl-arm64 NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.linux-musl-arm64 NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.linux-musl-arm64 NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.linux-musl-arm64 NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.linux-musl-x64 NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.linux-musl-x64 NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.linux-musl-x64 NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.linux-musl-x64 NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.linux-x64 NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.linux-x64 NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.linux-x64 NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.linux-x64 NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.osx-arm64 NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.osx-arm64 NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.osx-arm64 NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.osx-arm64 NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.osx-x64 NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.osx-x64 NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.osx-x64 NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.osx-x64 NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.win-arm NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.win-arm NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.win-arm NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.win-arm NuGetFrom 8.0.08.0.7
Microsoft.NetCore.App.Runtime.win-arm64 NuGetFrom 6.0.06.0.32
Microsoft.NetCore.App.Runtime.win-arm64 NuGetFrom 6.0.06.0.32

Products include Microsoft .Net, Microsoft Visual Studio 2022.

How do I fix CVE-2024-38095?

Upgrade Microsoft.NetCore.App.Runtime.linux-arm to a fixed version for your release line: 6.0.32 or 8.0.7.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-38095 being exploited?

There is no known exploitation of CVE-2024-38095 in the wild and no public exploit code.

All Microsoft .Net vulnerabilities

Sources

Also known as ALSA-2024:4438, ALSA-2024:4439, BELL-CVE-2024-38095, BIT-dotnet-2024-38095, BIT-dotnet-sdk-2024-38095, CLEANSTART-2025-SC05664 and 5 more.

Is CVE-2024-38095 in your software?

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

Check your SBOMs for free