CVE-2026-50651
C# vulnerability analysis and mitigation

Overview

CVE-2026-50651 is a Denial of Service vulnerability in Microsoft .NET's HTTP client (System.Net.Http) caused by allocation of resources without limits or throttling. An unauthenticated remote attacker can exploit the HTTP/2 protocol to trigger an out-of-memory (OOM) condition in the SocketsHttpHandler Http2Connection component via a SETTINGS/PING ACK flood. Affected versions include .NET 8.0 (< 8.0.29), .NET 9.0 (< 9.0.18), .NET 10.0 (< 10.0.10), Visual Studio 2022 versions 17.12.x (< 17.12.22) and 17.14.x (< 17.14.36), and Visual Studio 2026 version 18.7.x (< 18.7.4). Disclosed on July 14, 2026, it carries a CVSS v3.1 base score of 7.5 (High) (MSRC Advisory, Github Advisory).

Technical details

The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling) in the SocketsHttpHandler's Http2Connection implementation within System.Net.Http. An attacker can send a flood of HTTP/2 SETTINGS and PING ACK frames to a .NET HTTP client, causing unbounded memory allocation that exhausts available memory and leads to an out-of-memory crash. No authentication or user interaction is required, and the attack is network-accessible with low complexity. The vulnerability was discovered and reported by Miha Zupan of Microsoft (Github Advisory, Red Hat Bugzilla).

Impact

Successful exploitation results in an out-of-memory condition that crashes or renders unavailable any .NET service or application using the affected SocketsHttpHandler HTTP/2 client. The impact is limited to availability — there is no confidentiality or integrity impact. Applications deployed as self-contained executables targeting affected .NET versions are also vulnerable and require recompilation and redeployment (Github Advisory, MSRC Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure (Feedly). The EPSS score is approximately 0.62–0.84%, placing it in roughly the 54th percentile for exploitation probability within 30 days (Github Advisory). The vulnerability is classified as automatable (no user interaction required), making it straightforward to exploit at scale once a method is developed. It is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Exploitation steps

  1. Reconnaissance: Identify internet-facing services or applications built on .NET 8.0, 9.0, or 10.0 that use SocketsHttpHandler with HTTP/2 enabled (e.g., ASP.NET Core services, gRPC endpoints, or any application making outbound HTTP/2 connections).
  2. Establish HTTP/2 connection: Initiate an HTTP/2 connection to the target .NET application acting as an HTTP/2 server or proxy, or position as a malicious HTTP/2 server responding to a vulnerable .NET HTTP client.
  3. Send SETTINGS/PING ACK flood: Continuously send a high volume of HTTP/2 SETTINGS frames and PING ACK frames without allowing the client to process or release associated memory buffers, exploiting the lack of throttling in Http2Connection.
  4. Trigger OOM condition: The unbounded memory allocation in the SocketsHttpHandler Http2Connection causes the process to exhaust available memory, resulting in an out-of-memory exception and service crash or unavailability (Github Advisory, Red Hat Bugzilla).

Indicators of compromise

  • Logs: Application crash logs or event logs showing OutOfMemoryException originating from System.Net.Http or SocketsHttpHandler; .NET runtime crash dumps referencing Http2Connection memory exhaustion.
  • Network: Unusually high volumes of HTTP/2 SETTINGS or PING frames from a single or small set of source IPs targeting .NET application endpoints; sustained HTTP/2 connections with abnormal frame rates.
  • Process: Rapid memory growth in .NET worker processes (e.g., dotnet.exe, application host processes) without corresponding increase in legitimate request load; process termination due to OOM errors in application event logs.

Mitigation and workarounds

Microsoft has released patched versions: .NET 8.0.29, .NET 9.0.18, and .NET 10.0.10. For Visual Studio, update to 2022 version 17.12.22 or 17.14.36, or Visual Studio 2026 version 18.7.4. Self-contained applications targeting affected versions must be recompiled and redeployed against the patched runtime. As a temporary workaround until patching is complete, implement network-level rate limiting and resource quotas to restrict HTTP/2 connection rates from untrusted sources. Red Hat has also issued errata (RHSA-2026:41893 through RHSA-2026:41901) for affected RHEL 8, 9, and 10 packages (Github Advisory, Red Hat Bugzilla, MSRC Advisory).

Community reactions

The vulnerability was disclosed as part of Microsoft's July 2026 Patch Tuesday, which addressed a record 570 vulnerabilities including three zero-days, drawing significant community attention (BleepingComputer). Microsoft's .NET team published a servicing update blog post detailing the July 2026 fixes (.NET Blog). The SANS Internet Storm Center also covered the patch release (SANS ISC). Rapid7 included this CVE in their July 2026 Patch Tuesday analysis (Rapid7).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Ubuntu

Fixed

devel

dotnet10

Not Affected

jammy

dotnet6

Deferred

noble

dotnet8: 8.0.129-8.0.29-0ubuntu1~24.04.1

Fixed

resolute

dotnet10: 10.0.110-10.0.10-0ubuntu1~26.04.1

Fixed

RHEL / CentOS

Fixed

RHEL 8

:appstream:dotnet10.0-0:10.0.110-1.el8_10.src

Fixed

RHEL 9

:appstream:dotnet8.0-0:8.0.130-1.el9_4.src

Fixed

RHEL 10

dotnet8.0-0:8.0.130-1.el10_0.src

Fixed

Alpine

Fixed

edge

dotnet10-runtime: 10.0.10-r0, 8.0.29-r0, 9.0.18-r0

Fixed

v3.22

dotnet8-runtime: 8.0.29-r0, 9.0.18-r0

Fixed

v3.23

dotnet10-runtime: 10.0.10-r0, 8.0.29-r0, 9.0.18-r0

Fixed

SourceThis report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-48798HIGH7.1
  • C# logoC#
  • SSH.NET
NoYesAug 18, 2026
CVE-2026-54570MEDIUM6.9
  • C# logoC#
  • AngleSharp
NoYesAug 18, 2026
CVE-2026-73851MEDIUM6.1
  • C# logoC#
  • Microsoft.OpenApi.Kiota
NoYesAug 17, 2026
CVE-2026-48796MEDIUM5.3
  • C# logoC#
  • CefSharp.Common
NoYesAug 18, 2026
GHSA-cvhv-g4rq-3hmwLOW3.3
  • C# logoC#
  • Magick.NET-Q8-OpenMP-x64
NoYesSep 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management