CVE-2026-100407
Description
Git for Windows is the Windows port of Git. From 2.44.0.windows.1 until 2.55.0.windows.3, the git-credential-wincred store operation in contrib/credential/wincred/git-credential-wincred.c uses _scwprintf() to size a formatted wide-character credential buffer without space for the terminating NUL when both password and oauth_refresh_token are present. The operation also passes a byte count to _snwprintf_s() where a wide-character count is required, allowing the terminator to be written one WCHAR past the heap allocation before CredWriteW() persists the credential. The resulting fixed two-byte NUL overwrite can terminate the helper with Windows heap-corruption status and can cause git credential approve to report success even though the OAuth credential was not stored. This issue is fixed in version 2.55.0.windows.3.
Weakness
- CWE-787: Out-of-bounds Write
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-04 |
Timeline
- 2026-11-04Published by the CNA15:07 UTC
- 2026-11-04CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| git-for-windows git |
References
- https://github.com/git-for-windows/git/commit/52ca1113d651127f89477a8763f86ab20f645e1d
- https://github.com/git-for-windows/git/releases/tag/v2.55.0.windows.3
- https://github.com/git-for-windows/git/security/advisories/GHSA-v3h4-vrpr-rh9x
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-100407'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-100407'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-100407'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-100407'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).