{"cve":"CVE-2025-25199","nvd":{"published":"2025-02-12T18:15:27.933","modified":"2026-06-17T09:00:28.217","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-401"],"references":["https://github.com/microsoft/go-crypto-winnative/commit/f49c8e1379ea4b147d5bff1b3be5b0ff45792e41","https://github.com/microsoft/go-crypto-winnative/security/advisories/GHSA-29c6-3hcj-89cf"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:59:18.731010617+00:00"},"epss":{"cve":"CVE-2025-25199","score":0.01442,"percentile":0.73225,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-29c6-3hcj-89cf","url":"https://osv.dev/vulnerability/GHSA-29c6-3hcj-89cf","summary":"go-crypto-winnative BCryptGenerateSymmetricKey memory leak","modified":"2025-03-03T19:42:04.879346Z","packages":[{"ecosystem":"Go","name":"github.com/microsoft/go-crypto-winnative","purl":"pkg:golang/github.com/microsoft/go-crypto-winnative","ranges":["<0.0.0-20250211154640-f49c8e1379ea"],"fixed":["0.0.0-20250211154640-f49c8e1379ea"]}]},{"id":"GO-2025-3461","url":"https://osv.dev/vulnerability/GO-2025-3461","summary":"go-crypto-winnative BCryptGenerateSymmetricKey memory leak in github.com/microsoft/go-crypto-winnative","modified":"2026-03-03T04:56:15.111673Z","packages":[{"ecosystem":"Go","name":"github.com/microsoft/go-crypto-winnative","purl":"pkg:golang/github.com/microsoft/go-crypto-winnative","ranges":["<0.0.0-20250211154640-f49c8e1379ea"],"fixed":["0.0.0-20250211154640-f49c8e1379ea"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}