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

 

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

Published: September 29, 2026


Vulnerability identifier: #VU152718
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/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 OAuth credentials from being persisted.

The vulnerability exists due to a heap-based buffer overflow in the OAuth credential formatting logic of git-credential-wincred when storing an OAuth credential containing an oauth_refresh_token. A remote attacker can cause a victim to store an OAuth credential containing a refresh token to cause a denial of service and prevent OAuth credentials from being persisted.

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