Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/microsoft/go-crypto-winnative
  4. ›
  5. CVE-2025-25199

CVE-2025-25199: go-crypto-winnative BCryptGenerateSymmetricKey memory leak

February 12, 2025

Calls to cng.TLS1PRF don’t release the key handle, producing a small memory leak every time.

References

  • github.com/advisories/GHSA-29c6-3hcj-89cf
  • github.com/microsoft/go-crypto-winnative
  • github.com/microsoft/go-crypto-winnative/commit/f49c8e1379ea4b147d5bff1b3be5b0ff45792e41
  • github.com/microsoft/go-crypto-winnative/security/advisories/GHSA-29c6-3hcj-89cf
  • nvd.nist.gov/vuln/detail/CVE-2025-25199

Code Behaviors & Features

Detect and mitigate CVE-2025-25199 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20250211154640-f49c8e1379ea

Fixed versions

  • 0.0.0-20250211154640-f49c8e1379ea

Solution

Upgrade to version 0.0.0-20250211154640-f49c8e1379ea or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-401: Missing Release of Memory after Effective Lifetime

Source file

go/github.com/microsoft/go-crypto-winnative/CVE-2025-25199.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:13 +0000.