Technical impact
The flaw in Git for Windows’ wincred helper is a heap buffer overflow that occurs when an erase command is issued for a git:* credential that contains a password field. Inside the erase routine a buffer is allocated to match the CredentialBlobSize, and then wcsncpy_s copies the password plus an extra terminating NUL using the size in bytes rather than wide character count. This off‑by‑one write corrupts the heap after the buffer, potentially allowing the credential to remain stored while the process corrupts memory. The vulnerability is a classic CWE‑787 boundary-misuse overflow and does not directly grant code execution but can lead to crashes or indirect behavior changes.
Affected Systems
Affected systems are Git for Windows releases from 2.43.0.windows.1 up to, but not including, 2.55.0.windows.3.
Risk and Exploitability
The CVSS score of 4.4 indicates a moderate impact. EPSS is not available, and the flaw is not listed in the CISA KEV catalog. Based on the description, it is inferred that local user access is required to trigger the overflow, as the vulnerable code runs during a local erase operation on a stored credential. The overflow may lead to increased application instability but no confirmed privilege escalation or data exfiltration is documented. Users on affected versions therefore face a low‑to‑moderate risk that is mitigated entirely by updating to the patched release.