CVE-2025-48386

published 8 Jul 2025 · updated 4 Nov 2025

Git allows a buffer overflow in 'wincred' credential helper

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GitGit>=2.50.0-rc0 <2.50.1, >=2.47.0-rc0 <2.47.3, >=2.48.0-rc0 <2.48.2, >=2.49.0-rc0 <2.49.1, <2.43.7, >=2.44.0-rc0 <2.44.4, >=2.45.0-rc0 <2.45.4, >=2.46.0-rc0 <2.46.4
MicrosoftVisual Studio

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Git, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-48386 severity on Zeptric[![CVE-2025-48386](https://zeptric.io/badge/cve/CVE-2025-48386.svg)](https://zeptric.io/cve/CVE-2025-48386)