# CVE-2026-100408: Git for Windows: git-credential-wincred Erase Path Heap Overflow

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

## Description

```text
Git for Windows is the Windows port of Git. From 2.43.0.windows.1 until 2.55.0.windows.3, when a matching git:* credential exists in Windows Credential Manager and a git-credential-wincred erase input includes a password field, the operation in contrib/credential/wincred/git-credential-wincred.c allocates a buffer of exactly CredentialBlobSize bytes in match_cred_password() and then uses wcsncpy_s() to copy the corresponding number of wide characters plus a terminating NUL. The destination capacity is also supplied in bytes instead of WCHAR elements, allowing a fixed two-byte NUL write past the allocation before the password comparison determines whether CredDeleteW() should remove the credential; erase without a password field does not enter this comparison path. The helper can terminate with Windows heap-corruption status, and git credential reject can appear successful while the rejected credential remains stored. This issue is fixed in version 2.55.0.windows.3.
```

## Signals

- CVSS: 4.4 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- EPSS: 0.23%, percentile 14.806%, 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

- ubuntu git (Ubuntu): All versions (No fix recorded)
- git-for-windows git: ≥ 2.43.0.windows.1, \< 2.55.0.windows.3

## References

- <https://github.com/git-for-windows/git/security/advisories/GHSA-5j7x-r6vf-jhq2>
- <https://github.com/git-for-windows/git/commit/b4d1fb62c7e2fdcab5a018e25e51acb196eb1756>
- <https://github.com/git-for-windows/git/releases/tag/v2.55.0.windows.3>
- <https://ubuntu.com/security/CVE-2026-100408>
- <https://www.cve.org/CVERecord?id=CVE-2026-100408>

---

Data as of 2026-12-05T03:17:01.620Z. 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
