Heap-based Buffer Overflow Affecting microsoft/SymCrypt package, versions [103.5.0,103.11.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (20th 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 Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MICROSOFTSYMCRYPT-16004870
  • published13 Apr 2026
  • disclosed6 Apr 2026
  • creditFedericoPonzi

Introduced: 6 Apr 2026

CVE-2026-35199  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade microsoft/SymCrypt to version 103.11.0 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow in the SymCryptXmssSign function when a 64-bit leaf count value is passed to a helper function that only accepts a 32-bit parameter. This leads to silent truncation, causing an undersized scratch buffer allocation and a subsequent heap buffer overflow during signature computation. An attacker can cause memory corruption and potentially execute arbitrary code by supplying a specially crafted parameter set to trigger the overflow. This is only exploitable if an application allows attacker-controlled parameter sets for XMSS^MT signing operations, which is uncommon as signing typically requires trusted private keys.

CVSS Base Scores

version 4.0
version 3.1