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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | git | 1:2.43.0-1ubuntu7.3 | USN-7626-1 |
| Ubuntu 22.04 LTS | git | 1:2.34.1-1ubuntu1.13 | USN-7626-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | git | 1:2.25.1-1ubuntu3.14+esm1 | USN-7626-1 |
| Ubuntu Pro 18.04 LTS | git | 1:2.17.1-1ubuntu0.18+esm2 | USN-7626-1 |
| Ubuntu Pro 16.04 LTS | git | 1:2.7.4-0ubuntu1.10+esm9 | USN-7626-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 6.1 | git | 2.51.0-slfo.1.1_1.1 | SUSE-SU-2025:20855-1 |
| SLE Micro 6.0 | git | 2.51.0-1.1 | SUSE-SU-2025:20721-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | git | 2.50.1-1.1 | openSUSE-SU-2025:15337-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | git | 2.50.1-r0 | — |
| Alpine v3.23 | git | 2.50.1-r0 | — |
| Alpine v3.22 | git | 2.49.1-r0 | — |
| Alpine v3.21 | git | 2.47.3-r0 | — |
| Alpine v3.20 | git | 2.45.4-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | git | 2.43.7-r0 | — |
Advisories 6
- USN-7626-1 git vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- SUSE-SU-2025:20721-1 Security update for git SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20855-1 Security update for git SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15337-1 git-2.50.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-1485 Microsoft Developer Tools und git: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 26, 2025
- NCSC-2025-0217 Kwetsbaarheden verholpen in Microsoft Visual Studio NCSC-NL (Netherlands) · Jul 8, 2025