patchminder
No public exploit found CVE-2025-25199

Vulnerabilityin the github.com/microsoft/go-crypto-winnative package.

Published 12 Feb 2025 · Updated 12 Feb 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.5% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 0.0.0-20250211154640-f49c8e1379ea, 1.22.12-2, 1.23.6-2
In plain words

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.

What to do now
  • Upgrade go-crypto-winnative to 0.0.0-20250211154640-f49c8e1379ea, 1.22.12-2, 1.23.6-2 or later, whichever matches your release line.
  • Upgrade github.com/microsoft/go-crypto-winnative (Go) to 0.0.0-20250211154640-f49c8e1379ea or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
go-crypto-winnative
before 1.23.6-2
1.23.6-2
CVE record
go-crypto-winnative
before 1.22.12-2
1.22.12-2
CVE record
go-crypto-winnative
before 0.0.0-20250211154640-f49c8e1379ea
0.0.0-20250211154640-f49c8e1379ea
CVE record
github.com/microsoft/go-crypto-winnative (Go)
before 0.0.0-20250211154640-f49c8e1379ea
0.0.0-20250211154640-f49c8e1379ea
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 3 Feb 2025
    CVE ID reserved by GitHub_M.
  2. 12 Feb 2025
    Published in the CVE List.
  3. 12 Feb 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness: Memory leak

All CWE-401 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-25199: Vulnerability in the github.com/microsoft/go-crypto-winnative package. https://patchminder.com/cve/cve-2025-25199/ (accessed 5 December 2026).