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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-08 · Modified: 2025-11-04
- Aliases: ALPINE-CVE-2025-48386, UBUNTU-CVE-2025-48386
- Record: https://cvemate.com/vulnerability/CVE-2025-48386 · JSON: https://cvemate.com/vulnerability/CVE-2025-48386/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
- EPSS: 0.43%, percentile 39.12%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine git (Alpine Linux): \< 2.43.7-r0 \| \< 2.45.4-r0 \| \< 2.47.3-r0 \| \< 2.49.1-r0 \| \< 2.50.1-r0
- ubuntu git (Ubuntu): \< 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
- 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

## References

- <https://github.com/git/git/security/advisories/GHSA-4v56-3xvj-xvfr>
- <http://www.openwall.com/lists/oss-security/2025/07/08/4>
- <https://security.alpinelinux.org/vuln/CVE-2025-48386>
- <https://ubuntu.com/security/CVE-2025-48386>
- <https://www.cve.org/CVERecord?id=CVE-2025-48386>
- <https://www.openwall.com/lists/oss-security/2025/07/08/4>
- <https://ubuntu.com/security/notices/USN-7626-1>

---

Data as of 2026-12-05T07:58:48.732Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
