CVE-2025-48386: git Classic Buffer Overflow
Vulnerability summary
CVE-2025-48386 is a medium (CVSS 6.3) Classic Buffer Overflow vulnerability in git. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 36% of scored vulnerabilities.
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
36%
Versus all other CVEs
30-day change
+0.04 pp
From 0.39% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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