CVE-2024-35264 .NET and Visual Studio Remote Code Execution Vulnerability

High 8.1 Published Updated

A use-after-free vulnerability in .NET and Visual Studio allows remote attackers to execute arbitrary code.

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-35264?

CVE-2024-35264 is a high-severity use after free 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 Remote Code Execution Vulnerability

Weakness: CWE-416

Which versions are affected by CVE-2024-35264?

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

PackageAffectedFixed in
Microsoft.AspNetCore.App.Runtime.linux-arm NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.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
Microsoft.AspNetCore.App.Runtime.linux-arm64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.linux-arm64 NuGetFrom 8.0.08.0.7
20 more packages
Microsoft.AspNetCore.App.Runtime.linux-musl-arm NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.linux-musl-arm NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.linux-x64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.linux-x64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.osx-arm64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.osx-arm64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.osx-x64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.osx-x64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.win-arm NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.win-arm NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.win-arm64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.win-arm64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.win-x64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.win-x64 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.win-x86 NuGetFrom 8.0.08.0.7
Microsoft.AspNetCore.App.Runtime.win-x86 NuGetFrom 8.0.08.0.7

Products include Microsoft .Net, Microsoft Visual Studio 2022.

How do I fix CVE-2024-35264?

Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm to 8.0.7 or later.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-35264 being exploited?

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

All Microsoft .Net vulnerabilities

Sources

Also known as BIT-dotnet-2024-35264, BIT-dotnet-sdk-2024-35264, CLEANSTART-2025-GF30389, GHSA-chfc-9w6m-75rf, UBUNTU-CVE-2024-35264.

Is CVE-2024-35264 in your software?

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

Check your SBOMs for free