CVE-2024-35264: Remote Code Execution in .NET and Visual Studio via Kestrel HTTP/3 Use-After-Free
- Vendor
- Microsoft Corporation
CVE-2024-35264 is a remote code execution vulnerability affecting .NET 8 / ASP.NET Core 8 and associated Visual Studio development environments through a use-after-free condition in Kestrel HTTP/3 request handling. The flaw is triggered by data corruption arising from reuse of deallocated memory during request body processing. Available reporting indicates exploitation depends on a race condition that can be induced by interrupting or closing an HTTP/3 stream while the server is still processing the request body, leading to unsafe memory access and potential attacker-controlled code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can result in remote code execution in the context of the affected application or service processing the malicious HTTP/3 traffic. Depending on deployment architecture and service privileges, this may allow full compromise of the targeted server-side application, execution of arbitrary code, follow-on lateral movement, service disruption, or further post-exploitation activity.
Mitigation
If you can’t patch tonight, do this now.
No vendor-provided workaround is identified in the available information. Until patches are fully deployed, reduce exposure by disabling or avoiding HTTP/3 where operationally feasible, limiting external access to affected services, and prioritizing patching of internet-facing ASP.NET Core/Kestrel deployments. Redeploy self-contained applications after updating, as runtime patching alone may be insufficient for those builds.
Remediation
Patch, then assume compromise.
Apply Microsoft's July 2024 security updates for affected .NET and Visual Studio components. For .NET 8, update to a patched release such as .NET 8.0.7 Runtime or the corresponding fixed SDK release, and ensure self-contained applications built against vulnerable versions are rebuilt, redeployed, and restarted so the corrected runtime is in use. Apply the relevant Microsoft security bulletin updates to Visual Studio 2022, .NET 8.0, and affected .NET Framework components where applicable.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2024-35264 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2024-35264?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2024-35264.
- Is there a patch for CVE-2024-35264?
- Apply Microsoft's July 2024 security updates for affected .NET and Visual Studio components. For .NET 8, update to a patched release such as .NET 8.0.7 Runtime or the corresponding fixed SDK release, and ensure self-contained applications built against vulnerable versions are rebuilt, redeployed, and restarted so the corrected runtime is in use.
- What products are affected by CVE-2024-35264?
- Microsoft Corporation Net, Microsoft Corporation Visual Studio, and Microsoft Corporation Visual Studio 2022.
- How severe is CVE-2024-35264?
- CVE-2024-35264 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 2.6% (86th percentile) as of Oct 16, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.