Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. System.Security.Cryptography.Xml
  4. ›
  5. CVE-2026-50525

CVE-2026-50525: Microsoft Security Advisory CVE-2026-50525 – .NET Denial of Service Vulnerability

July 20, 2026 (updated July 21, 2026)

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET XML Encryption (System.Security.Cryptography.Xml). This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.

A denial of service vulnerability exists in the XML encryption implementation (EncryptedXml) in .NET 8, .NET 9, and .NET 10. An attacker could exploit this vulnerability by supplying crafted encrypted XML that causes uncontrolled resource consumption, resulting in denial of service.

References

  • github.com/advisories/GHSA-8q5v-6pqq-x66h
  • github.com/dotnet/announcements/issues/414
  • github.com/dotnet/runtime/issues/130711
  • github.com/dotnet/runtime/security/advisories/GHSA-8q5v-6pqq-x66h
  • msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50525
  • nvd.nist.gov/vuln/detail/CVE-2026-50525

Code Behaviors & Features

Detect and mitigate CVE-2026-50525 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.0.0 before 8.0.4, all versions starting from 9.0.0 before 9.0.18, all versions starting from 10.0.0 before 10.0.10

Fixed versions

  • 8.0.4
  • 9.0.18
  • 10.0.10

Solution

Upgrade to versions 8.0.4, 9.0.18, 10.0.10 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

nuget/System.Security.Cryptography.Xml/CVE-2026-50525.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:28 +0000.