Read the docs
TI-2025-18868 Aliases CVE-2025-25199GHSA-29c6-3hcj-89cf

BCryptGenerateSymmetricKey memory leak

Priority MEDIUM 42CWE-401Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-401.

Summary

go-crypto-winnative Go crypto backend for Windows using Cryptography API: Next Generation (CNG). Prior to commit f49c8e1379ea4b147d5bff1b3be5b0ff45792e41, calls to `cng.TLS1PRF` don't release the key handle, producing a small memory leak every time. Commit f49c8e1379ea4b147d5bff1b3be5b0ff45792e41 contains a fix for the issue. The fix is included in versions 1.23.6-2 and 1.22.12-2 of the Microsoft build of go, as well as in the pseudoversion 0.0.0-20250211154640-f49c8e1379ea of the `github.com/microsoft/go-crypto-winnative` Go package.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01442 73rd percentileScored 2026-11-07
Fix Fixed go-crypto-winnative (microsoft): 1.23.6-2, 1.22.12-2, 0.0.0-20250211154640-f49c8e1379eagithub.com/microsoft/go-crypto-winnative (Go): 0.0.0-20250211154640-f49c8e1379ea

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Microsoftgo-crypto-winnativebefore 1.23.6-2; before 1.22.12-2; before 0.0.0-20250211154640-f49c8e1379ea1.23.6-2, 1.22.12-2, 0.0.0-20250211154640-f49c8e1379eaPatch availableCNA
—github.com/microsoft/go-crypto-winnative (Go)before 0.0.0-20250211154640-f49c8e1379ea0.0.0-20250211154640-f49c8e1379eaPatch availableGHSA-29c6-3hcj-89cf
  • go-crypto-winnative VendorMicrosoft Affected before 1.23.6-2; before 1.22.12-2; before 0.0.0-20250211154640-f49c8e1379ea Fixed in 1.23.6-2, 1.22.12-2, 0.0.0-20250211154640-f49c8e1379ea Patch available CNA
  • github.com/microsoft/go-crypto-winnative (Go) Vendor— Affected before 0.0.0-20250211154640-f49c8e1379ea Fixed in 0.0.0-20250211154640-f49c8e1379ea Patch available GHSA-29c6-3hcj-89cf

Remediation

  • Fix · CNA go-crypto-winnative (microsoft) Fixed in 1.23.6-2, 1.22.12-2, 0.0.0-20250211154640-f49c8e1379ea
  • Fix · GHSA-29c6-3hcj-89cf github.com/microsoft/go-crypto-winnative (Go) Fixed in 0.0.0-20250211154640-f49c8e1379ea Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-25199
  2. 2026-10-03 Alias added: GHSA-29c6-3hcj-89cf

References

  • TI-2026-42212 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-37256 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-26194 Windows Internet Key Exchange (IKE) Service Extensions Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-16982 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-36863 Windows Server Update Service (WSUS) Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-33671 Microsoft SharePoint Server Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
See all 18045 →

Sources