Home Microsoft CVE-2025-25199
Back to Microsoft

CVE-2025-25199

Target: Go - Crypto Winnative

Microsoft CVSS 7.5 Updated March 10, 2026
Threat Level HIGH

Executive Risk Summary

"A small memory leak occurs in the go-crypto-winnative Go package prior to commit f49c8e1379ea4b147d5bff1b3be5b0ff45792e41 due to calls to `cng.TLS1PRF` not releasing the key handle. This issue is fixed 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."

Operational Audit Arsenal

Target Type Go Package
Target Asset go-crypto-winnative
Standard Path https://github.com/microsoft/go-crypto-winnative
PowerShell
# 🛠️ Senior Engineer Universal Audit
# Target: go-crypto-winnative (Go Package)
$Target = "go-crypto-winnative"
$SearchPaths = @("$env:windir\System32", "$env:ProgramFiles", "${env:ProgramFiles(x86)}")

Get-ChildItem -Path $SearchPaths -Filter $Target -Recurse -ErrorAction SilentlyContinue | 
Select-Object FullName, @{Name="Version";Expression={$_.VersionInfo.ProductVersion}}

Patch Impact Forecast

Reboot Required Not Required
Service Disruption

Low

Internal Work Notes

Apply the fix by updating to versions 1.23.6-2 or 1.22.12-2 of the Microsoft build of go, or use the pseudoversion 0.0.0-20250211154640-f49c8e1379ea of the `github.com/microsoft/go-crypto-winnative` Go package to mitigate the memory leak vulnerability.

Intelligence Sources

Scope of Impact

Original NVD Description

"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."

Data compiled from NVD, MSRC, and CISA KEV Catalog. Intelligence synthesized via AI. Scripts provided for diagnostic purposes under MIT License.