Stack-based Buffer Overflow Affecting system.security.cryptography.xml package, versions [8.0.0,8.0.4)[9.0.0,9.0.18)[10.0.0,10.0.10)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.84% (55th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DOTNET-SYSTEMSECURITYCRYPTOGRAPHYXML-17979634
  • published15 Jul 2026
  • disclosed15 Jul 2026
  • creditLevi Broderick

Introduced: 15 Jul 2026

CVE-2026-50527  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade System.Security.Cryptography.Xml to version 8.0.4, 9.0.18, 10.0.10 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via improper validation in the EncryptedXml implementation. An attacker can cause denial of service by supplying crafted encrypted XML that is improperly validated during processing, leading to excessive resource consumption or application failure.

CVSS Base Scores

version 4.0
version 3.1