BreachSpiderVerified, not vibes

CVE-2025-25199 in Crypto products

High 7.5

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 ...

Affects 0 products from 5 vendors. Facts below cite their sources.

CVSS 3.17.5
EPSS2.4%
EPSS percentile85th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Crypto — —
Cryptography — —
Github — —
Microsoft — —
Windows — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-25199
BreachSpider IDBS-2025-GLOBAL-042783-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2025-02-12
Last modified2026-04-15
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-401: Memory Leak

Software does not release allocated memory after use, causing progressive consumption until failure.

Analysis AI-written, not human-reviewed

A memory leak vulnerability exists in the go-crypto-winnative Go crypto backend for Windows using Cryptography API: Next Generation (CNG) prior to commit f49c8e1379ea4b147d5bff1b3be5b0ff45792e41. Calls to `cng.TLS1PRF` do not release the key handle, leading to a small memory leak each time the function is called.

The vulnerability is triggered by repeated calls to the `cng.TLS1PRF` function in the go-crypto-winnative library. This results in a memory leak, which, while not directly exploitable for privilege escalation or data theft, can degrade system performance over time if not addressed.

Questions

What is CVE-2025-25199?

A memory leak vulnerability exists in the go-crypto-winnative Go crypto backend for Windows using Cryptography API: Next Generation (CNG) prior to commit f49c8e1379ea4b147d5bff1b3be5b0ff45792e41. Calls to `cng.TLS1PRF` do not release the key handle, leading to a small memory leak each time the function is called.

What is the CVSS score for CVE-2025-25199?

CVE-2025-25199 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 2.4%.

Is CVE-2025-25199 actively exploited?

No confirmed active exploitation of CVE-2025-25199 as of 2026-05-30.

How do I remediate CVE-2025-25199?

Priority: MEDIUM. Advisory: https://github.com/microsoft/go-crypto-winnative/commit/f49c8e1379ea4b147d5bff1b3be5b0ff45792e41

What systems are affected by CVE-2025-25199?

CVE-2025-25199 affects Crypto; Cryptography; Github; Microsoft; Windows.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Crypto","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.