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
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/announcements/issues/414
- https://github.com/dotnet/runtime/issues/130711
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50525
- https://api.github.com/repos/dotnet/runtime/security-advisories/GHSA-8q5v-6pqq-x66h