microsoft/go-crypto-winnative · Security
go-crypto-winnative BCryptGenerateSymmetricKey memory leak
- GHSA ID
- GHSA-29c6-3hcj-89cf
- CVE ID
- CVE-2025-25199
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
Calls to cng.TLS1PRF don't release the key handle, producing a small memory leak every time.
CWEs
- CWE-401 · Missing Release of Memory after Effective Lifetime