Microsoft go-crypto-winnative up to 1.22.12-1/1.23.6-1 on Windows memory leak
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic was found in Microsoft go-crypto-winnative up to 1.22.12-1/1.23.6-1 on Windows. The affected element is an unknown function. The manipulation results in memory leak. This vulnerability is cataloged as CVE-2025-25199. The attack may be launched remotely. There is no exploit available. Upgrading the affected component is advised.
Details
A vulnerability, which was classified as problematic, was found in Microsoft go-crypto-winnative up to 1.22.12-1/1.23.6-1 on Windows. Affected is an unknown function. The manipulation with an unknown input leads to a memory leak vulnerability. CWE is classifying the issue as CWE-401. The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory. This is going to have an impact on availability. CVE summarizes:
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.
The advisory is available at github.com. This vulnerability is traded as CVE-2025-25199 since 02/03/2025. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. The technical details are unknown and an exploit is not available. This vulnerability is assigned to T1499 by the MITRE ATT&CK project.
The vulnerability scanner Nessus provides a plugin with the ID 241951 (CBL Mariner 2.0 Security Update: golang (CVE-2025-25199)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 0.0.0-20250211154640-f49c8e1379ea, 1.22.12-2 or 1.23.6-2 eliminates this vulnerability. Applying the patch f49c8e1379ea4b147d5bff1b3be5b0ff45792e41 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (241951). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Vendor
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 7.5
CNA Vector (GitHub_M): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Memory leakCWE: CWE-401 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 241951
Nessus Name: CBL Mariner 2.0 Security Update: golang (CVE-2025-25199)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: go-crypto-winnative 0.0.0-20250211154640-f49c8e1379ea/1.22.12-2/1.23.6-2
Patch: f49c8e1379ea4b147d5bff1b3be5b0ff45792e41
Timeline
02/03/2025 🔍02/12/2025 🔍
02/12/2025 🔍
07/11/2025 🔍
Sources
Vendor: microsoft.comProduct: github.com
Advisory: GHSA-29c6-3hcj-89cf
Status: Confirmed
CVE: CVE-2025-25199 (🔍)
GCVE (CVE): GCVE-0-2025-25199
GCVE (VulDB): GCVE-100-295554
Entry
Created: 02/12/2025 20:37Updated: 07/11/2025 15:44
Changes: 02/12/2025 20:37 (67), 07/11/2025 15:44 (2)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.