# CVE-2026-50525: Microsoft .NET resource exhaustion denial of service

Source: https://junglewise.ai/threats/cve-2026-50525-microsoft-net-resource-exhaustion-denial-of-service  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-14. Updated: 2026-07-20  
License: CC BY 4.0 with a link back

CVE-2026-50525 · Severity: high · CVSS 7.5 · Published 2026-07-14

A security vulnerability has been identified in the .NET component responsible for processing encrypted XML data. An attacker can exploit this flaw to cause a denial of service, potentially crashing applications or making them unresponsive. This impacts the availability of services that rely on .NET for secure data exchange. Developers should update their software to the latest patched versions of the affected library to maintain service stability.

Technologies: [Microsoft Visual Studio 2022](https://junglewise.ai/threats/technologies/visual-studio-2022), [System.Security.Cryptography.Xml (NuGet)](https://junglewise.ai/threats/technologies/system-security-cryptography-xml). Vendors: [Microsoft](https://junglewise.ai/threats/vendors/microsoft), [NuGet](https://junglewise.ai/threats/vendors/nuget).

## Quick answers

**Is CVE-2026-50525 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-50525 being exploited in the wild.

**How severe is CVE-2026-50525?** High severity, with a CVSS score of 7.5, published 14 July 2026.

**Which products and versions are affected?** Microsoft Visual Studio 2022 17.12.0 to < 17.12.22; System.Security.Cryptography.Xml (NuGet) ECOSYSTEM:introduced=10.0.0,fixed=10.0.10.

**Is there a fix for CVE-2026-50525?** Yes. System.Security.Cryptography.Xml (NuGet): upgrade to 10.0.10 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-50525 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-50525?** Check whether you run Microsoft Visual Studio 2022 or System.Security.Cryptography.Xml (NuGet) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- System.Security.Cryptography.Xml (NuGet): upgrade to 10.0.10 or later

  ```sh
  dotnet add package System.Security.Cryptography.Xml --version 10.0.10
  ```


## Technical details

A denial of service vulnerability exists in the EncryptedXml implementation within the System.Security.Cryptography.Xml package for .NET 8, 9, and 10. The root cause is a resource exhaustion issue (CWE-770) where the library fails to properly limit or throttle resource allocation during the decryption of specially crafted XML payloads. An unauthenticated remote attacker can exploit this by sending malicious XML data, leading to uncontrolled resource consumption and application unavailability. Patches are available in versions 8.0.29, 9.0.18, and 10.0.10.

## Affected products

- Microsoft System.Security.Cryptography.Xml >= 8.0.0, <= 8.0.28
- Microsoft System.Security.Cryptography.Xml >= 9.0.0, <= 9.0.17
- Microsoft System.Security.Cryptography.Xml >= 10.0.0, <= 10.0.9

## Identifiers

- CVE-2026-50525
- GHSA-8q5v-6pqq-x66h

## Timeline

- 2026-07-14: disclosed: Advisory published by Microsoft
- 2026-07-20: advisory: GitHub Advisory published/reviewed

## References

- [https://github.com/dotnet/runtime/security/advisories/GHSA-8q5v-6pqq-x66h](https://github.com/dotnet/runtime/security/advisories/GHSA-8q5v-6pqq-x66h)
- [https://github.com/dotnet/announcements/issues/414](https://github.com/dotnet/announcements/issues/414)
- [https://github.com/dotnet/runtime/issues/130711](https://github.com/dotnet/runtime/issues/130711)
- [https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50525](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50525)
- [https://api.github.com/repos/dotnet/runtime/security-advisories/GHSA-8q5v-6pqq-x66h](https://api.github.com/repos/dotnet/runtime/security-advisories/GHSA-8q5v-6pqq-x66h)

## Related threats

- [Asymmetric resource consumption (amplification) in .NET allows an unauthorized attacker to deny service over a network.](https://junglewise.ai/threats/cve-2026-96960-microsoft-security-advisory-net-and-visual-studio-denial-of)
- [Allocation of resources without limits or throttling in .NET allows an unauthorized attacker to deny service over a network.](https://junglewise.ai/threats/cve-2026-96959-microsoft-security-advisory-net-and-visual-studio-denial-of)
- [Inefficient algorithmic complexity in .NET allows an unauthorized attacker to deny service over a network.](https://junglewise.ai/threats/cve-2026-96958-microsoft-security-advisory-net-and-visual-studio-denial-of)
- [.NET cryptographic signature verification bypass](https://junglewise.ai/threats/cve-2026-96957-improper-verification-of-cryptographic-signature-in-net-allows-an)
- [Microsoft .NET certificate validation bypass in Cryptography.Xml](https://junglewise.ai/threats/cve-2026-96222-microsoft-security-advisory-net-spoofing-vulnerability)
