CVE-2025-48386: Git allows a buffer overflow in 'wincred' credential helper
Vulnerability summary
CVE-2025-48386 is a medium (CVSS 6.3) vulnerability in git. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 39.1% of scored vulnerabilities.
Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 4Timeline
- 08-07-2025PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
Description
Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. The wincred credential helper uses a static buffer (target) as a unique key for storing and comparing against internal storage. This credential helper does not properly bounds check the available space remaining in the buffer before appending to it with wcsncat(), leading to potential buffer overflows. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · AlpineEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
- NVDNIST6.3MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.43% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- git< 2.43.7-r0 | < 2.45.4-r0 | < 2.47.3-r0 | < 2.49.1-r0 | < 2.50.1-r0
Git1 product
- git< 2.43.7 | ≥ 2.44.0-rc0, < 2.44.4 | ≥ 2.45.0-rc0, < 2.45.4 | ≥ 2.46.0-rc0, < 2.46.4 | ≥ 2.47.0-rc0, < 2.47.3 | ≥ 2.48.0-rc0, < 2.48.2 | ≥ 2.49.0-rc0, < 2.49.1 | ≥ 2.50.0-rc0, < 2.50.1
Ubuntu1 product
- git< 1:2.7.4-0ubuntu1.10+esm9 | < 1:2.17.1-1ubuntu0.18+esm2 | < 1:2.25.1-1ubuntu3.14+esm1 | < 1:2.34.1-1ubuntu1.13 | < 1:2.43.0-1ubuntu7.3
3 vendors · 3 products
References
7 links- github.com/git/git/security/advisories/GHSA-4v56-3xvj-xvfrX Refsource CONFIRM