Vulnerabilityin the github.com/microsoft/go-crypto-winnative package.
No public exploit found; not on exploited lists.
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.
- Upgrade go-crypto-winnative to 0.0.0-20250211154640-f49c8e1379ea, 1.22.12-2, 1.23.6-2 or later, whichever matches your release line.
- Upgrade github.com/microsoft/go-crypto-winnative (Go) to 0.0.0-20250211154640-f49c8e1379ea or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 3 Feb 2025CVE ID reserved by GitHub_M.
- 12 Feb 2025Published in the CVE List.
- 12 Feb 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Same weakness: Memory leak
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
Patchminder. CVE-2025-25199: Vulnerability in the github.com/microsoft/go-crypto-winnative package. https://patchminder.com/cve/cve-2025-25199/ (accessed 5 December 2026).