Heap-based buffer overflow in Git for Windows - #VU152717

 

Heap-based buffer overflow in Git for Windows - #VU152717

Published: September 29, 2026


Vulnerability identifier: #VU152717
CSH Severity: Medium
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service and prevent a rejected credential from being removed.

The vulnerability exists due to a heap-based buffer overflow in the match_cred_password() function of git-credential-wincred when comparing a supplied password with a saved Windows Credential Manager CredentialBlob during credential erasure. A remote attacker can cause a victim to initiate credential rejection for a target with a saved credential to cause a denial of service and prevent a rejected credential from being removed.

The overwrite consists of a fixed two-byte NUL value.


Affected software

Git for Windows

Remediation

Install security update from vendor's website.

Git for Windows - update to 2.55.0.4

External References

Related Security Bulletins