# CVE-2025-48386: Git allows a buffer overflow in 'wincred' credential helper

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2025-07-08T18:23:41.246Z
- Modified: 2026-06-17T09:29:35.367Z
- Also known as: BIT-GIT-2025-48386, GHSA-4v56-3xvj-xvfr
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- git 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
- git (Bitnami): before 2.50.1

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/git/git/security/advisories/GHSA-4v56-3xvj-xvfr> (web)
- <http://www.openwall.com/lists/oss-security/2025/07/08/4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48386> (web)

## Sources

- CVE List: [CVE-2025-48386](https://www.cve.org/CVERecord?id=CVE-2025-48386), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2025-48386](https://nvd.nist.gov/vuln/detail/CVE-2025-48386), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GIT-2025-48386](https://osv.dev/vulnerability/BIT-GIT-2025-48386), Apache-2.0, modified 2025-11-06

---

Page: https://cve.day/CVE-2025-48386 · Whole record: https://cve.day/CVE-2025-48386.json · Rebuilt by cve.day 2026-11-25T22:59:00.965Z
