Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-50525

CVE-2026-50525: .NET DOS Vulnerability

CVE-2026-50525 is a denial of service vulnerability in .NET caused by resource allocation without limits, allowing attackers to disrupt services remotely. This article covers technical details, affected versions, and mitigation.

Published:

CVE-2026-50525 Overview

CVE-2026-50525 is a denial-of-service vulnerability in Microsoft .NET caused by allocation of resources without limits or throttling [CWE-770]. An unauthenticated remote attacker can exhaust server resources by sending crafted network traffic to an affected .NET application. The flaw requires no user interaction and no privileges, which lowers the barrier for exploitation against internet-facing services. Microsoft published the advisory on 2026-07-14 and last updated it on 2026-07-15.

Critical Impact

Remote, unauthenticated attackers can render .NET-based services unavailable through resource exhaustion over the network.

Affected Products

  • Microsoft .NET (specific supported versions per Microsoft advisory)
  • Applications and services built on affected .NET runtimes
  • Server workloads exposing .NET endpoints to untrusted networks

Discovery Timeline

  • 2026-07-14 - CVE-2026-50525 published to NVD
  • 2026-07-15 - Last updated in NVD database

Technical Details for CVE-2026-50525

Vulnerability Analysis

The vulnerability stems from the .NET runtime or associated libraries allocating resources such as memory, threads, or connection state without enforcing upper bounds. An attacker sending specially crafted requests forces the process to consume resources faster than they can be reclaimed. Sustained exploitation drives the target process into memory pressure, thread starvation, or garbage collector thrashing. The result is service unavailability for legitimate users while the process remains under load or crashes.

Because the attack vector is network-based and requires no authentication, exposed .NET HTTP endpoints, gRPC services, and other network listeners are directly reachable. The confidentiality and integrity of data are not affected, but availability impact is high.

Root Cause

The root cause is classified under [CWE-770] Allocation of Resources Without Limits or Throttling. The affected code path accepts attacker-controlled input that governs the size or quantity of resources allocated, without applying quotas, rate limits, or bounds checks. See the Microsoft Security Update Advisory for component-level detail.

Attack Vector

An attacker sends repeated or oversized network requests to a vulnerable .NET service. Each request triggers allocation that is not released or bounded, accumulating pressure across CPU, memory, or handle limits. The attack does not require a valid account or prior foothold. No public proof-of-concept or exploit code has been observed at time of publication.

Refer to the vendor advisory for technical specifics on the affected code paths and request patterns.

Detection Methods for CVE-2026-50525

Indicators of Compromise

  • Sudden and sustained increase in memory or handle usage by dotnet.exe, w3wp.exe, or application host processes
  • Elevated request rates from a small set of source IP addresses targeting .NET endpoints
  • Application pool recycles, process crashes, or out-of-memory events in Windows Event Log or container logs
  • Increased HTTP 5xx responses and rising request queue depth on .NET services

Detection Strategies

  • Monitor process-level performance counters for anomalous growth in working set, GC heap size, and thread count on .NET hosts
  • Correlate network telemetry with process resource metrics to identify request patterns that precede resource spikes
  • Alert on repeated application restarts or unhealthy readiness probes for .NET workloads

Monitoring Recommendations

  • Ingest application, IIS, Kestrel, and container runtime logs into a centralized analytics platform for correlation
  • Baseline normal request rates and payload sizes per endpoint, then alert on deviations
  • Track upstream load balancer metrics for connection saturation against .NET backends

How to Mitigate CVE-2026-50525

Immediate Actions Required

  • Apply the Microsoft security update referenced in the Microsoft Security Update Advisory to all affected .NET runtimes and SDKs
  • Inventory hosts and containers running .NET workloads and prioritize internet-facing services for patching
  • Restrict inbound access to .NET services from untrusted networks until patches are deployed

Patch Information

Microsoft has published updates for affected .NET versions. Consult the Microsoft Security Update Advisory for the exact runtime versions, package identifiers, and installation guidance. Rebuild and redeploy self-contained .NET applications against patched runtime versions.

Workarounds

  • Place a reverse proxy or web application firewall in front of .NET services to enforce request size limits and rate limiting
  • Configure Kestrel, IIS, or hosting platform limits for maximum request body size, concurrent connections, and request timeouts
  • Apply per-client throttling and connection quotas at the load balancer to blunt volumetric abuse
  • Enable process recycling thresholds so runaway workers are restarted before impacting the host
bash
# Example: enforce request limits in ASP.NET Core Kestrel (appsettings.json)
{
  "Kestrel": {
    "Limits": {
      "MaxConcurrentConnections": 1000,
      "MaxConcurrentUpgradedConnections": 100,
      "MaxRequestBodySize": 1048576,
      "KeepAliveTimeout": "00:00:30",
      "RequestHeadersTimeout": "00:00:15"
    }
  }
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.