CVE-2025-48386 Details
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.
A buffer overflow vulnerability has been identified in the Wincred credential helper of Git. This issue arises because the helper uses a static buffer as a unique key for storing and comparing credentials, but fails to properly check the available space in the buffer before appending data. This flaw allows for potential buffer overflows, which could be exploited under certain conditions.
Users are advised to upgrade to Git versions 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, or 2.50.1. If upgrading is not possible, avoid using the Wincred helper.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 8, 2025CISA-ADP
Assessed Jul 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/07/08/4 | CVE | |
| https://github.com/git/git/security/advisories/GHSA-4v56-3xvj-xvfr | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Git | <= v2.43.6 (semver) >= v2.44.0, <= v2.44.3 (semver) >= v2.45.0, <= v2.45.3 (semver) >= v2.46.0, <= v2.46.3 (semver) >= v2.47.0, <= v2.47.2 (semver) >= v2.48.0, <= v2.48.1 (semver) <= v2.49.0 (semver) <= v2.50.0 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 4, 2025 | CVE Modified | CVE |
| Jul 8, 2025 | New CVE Received | [email protected] |
Volerion