{"id":"CVE-2025-25199","published":"2025-02-12T17:49:58Z","modified":"2025-02-12T19:50:24Z","title":"BCryptGenerateSymmetricKey memory leak","vendor":"Microsoft","product":"go-crypto-winnative","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01534,"percentile":0.75446,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://github.com/microsoft/go-crypto-winnative/security/advisories/GHSA-29c6-3hcj-89cf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/microsoft/go-crypto-winnative/commit/f49c8e1379ea4b147d5bff1b3be5b0ff45792e41","tags":["x_refsource_MISC"]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":15.09},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"microsoft","affectedVersions":[{"vendor":"microsoft","product":"go-crypto-winnative","versions":["< 1.23.6-2","< 1.22.12-2","< 0.0.0-20250211154640-f49c8e1379ea"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-12T19:47:56.486853Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/microsoft/go-crypto-winnative","vulnerableRanges":["<0.0.0-20250211154640-f49c8e1379ea"],"patched":["0.0.0-20250211154640-f49c8e1379ea"],"from":["GHSA-29c6-3hcj-89cf","GO-2025-3461"],"provenance":"source"}],"summary":{"text":"The go-crypto-winnative Go crypto backend for Windows, which uses the Cryptography API: Next Generation (CNG), fails to release the key handle when cng.TLS1PRF is called, causing a small memory leak on each call. Exploitation is possible over the network with no authentication or user interaction, and its effect is a gradual memory leak, so the impact is availability (denial of service) and it requires that the affected code path be invoked repeatedly.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:33Z"},"euvd":{"id":"EUVD-2025-4085","exploited":false,"provenance":"source"}}