{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-25199","id":"CVE-2025-25199","title":"BCryptGenerateSymmetricKey memory leak","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 ","descriptionLong":"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.","published":"2025-02-12T17:49:58.397Z","updated":"2026-10-28T02:30:43.304956372Z","reserved":"2025-02-03T19:30:53.400Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["microsoft go-crypto-winnative"],"affectedProducts":[{"vendor":"microsoft","product":"go-crypto-winnative","defaultStatus":null,"versions":[{"version":"< 1.23.6-2","status":"affected"},{"version":"< 1.22.12-2","status":"affected"},{"version":"< 0.0.0-20250211154640-f49c8e1379ea","status":"affected"}],"platforms":[]}],"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"],"advisory":"GHSA-29c6-3hcj-89cf"}],"cwes":["CWE-401"],"aliases":["GHSA-29c6-3hcj-89cf","GO-2025-3461"],"references":[{"url":"https://github.com/microsoft/go-crypto-winnative/security/advisories/GHSA-29c6-3hcj-89cf","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/microsoft/go-crypto-winnative/commit/f49c8e1379ea4b147d5bff1b3be5b0ff45792e41","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25199.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25199","tags":["advisory"]},{"url":"https://github.com/microsoft/go-crypto-winnative","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01442,"epssPercentile":0.73748,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-25199","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25199","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-25199","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-29c6-3hcj-89cf","ok":true,"note":"GHSA-29c6-3hcj-89cf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-25199","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}