Open-source package vulnerability · Go
CVE-2025-25199: go-crypto-winnative BCryptGenerateSymmetricKey memory leak
highCVSS 3.1 7.5GHSA-29c6-3hcj-89cf
Calls to cng.TLS1PRF don't release the key handle, producing a small memory leak every time.
Published Feb 12, 2025
Affected packages
github.com/microsoft/go-crypto-winnative
- Ecosystem
- Go
- Affected
- < 0.0.0-20250211154640-f49c8e1379ea
- Fixed in
- 0.0.0-20250211154640-f49c8e1379ea
- Check
go list -m github.com/microsoft/go-crypto-winnative
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Calls to cng.TLS1PRF don't release the key handle, producing a small memory leak every time.
Credited to clarkb7.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
