Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessStored git:* credential exists in Credential Manager
-
Deliveryerase invoked with password field
-
Exploitfixed two-byte NUL written past heap buffer
-
Executionhelper crashes before credential deletion
-
Impactstale rejected credential remains stored
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the git-credential-wincred helper is built and configured as the active credential helper (it is NOT the default on modern Git for Windows, where Git Credential Manager is standard), that a matching git:* credential already exists in Windows Credential Manager, and that Git invokes the helper with 'erase' AND the erase input includes a password field - typically produced by 'git credential reject' after an authentication failure. Erase without a password field does not enter the vulnerable comparison path and is unaffected. Limiting factors: local attack vector only, dependence on a non-default helper configuration, a pre-existing stored credential, and the fact that the primitive is only a fixed two-byte 00 00 overwrite with no demonstrated code execution or data disclosure. |
| Impact | This is a medium-severity, locally-triggered memory-safety bug, not a high-impact remote threat. The provided CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L, base 4.4) reflects a local attack vector with required user/workflow interaction and only Low integrity and availability impact - consistent with the GHSA's confirmed findings (helper crash plus stale credential retention) and its explicit statement that code execution, privilege escalation, cross-user impact, and credential disclosure were NOT demonstrated. No EPSS score and no KEV status are present in the input, and the vuln.today decision label is 'this_month' (not act_now/emergency), so none of the urgency signals point to active mass exploitation. A detailed, self-contained proof of concept reproducing the 0xC0000374 heap-corruption crash is published inside the GHSA advisory itself. Net: a real but modest-priority defect - the primary consequence is a reliability/credential-hygiene problem (reject silently leaving a credential stored), not controlled exploitation. Conflicting patch metadata exists: the description and the linked release tag say it is fixed in 2.55.0.windows.3, while the Package line states 'not yet patched' with a vulnerable range only through v2.54.0.windows.1 - verify the fixed build against the official release. |
| Exploit ScenarioDerived | A Windows developer has a saved git:* credential in Windows Credential Manager via the wincred helper; authentication to that remote fails, so Git runs 'git credential reject', invoking git-credential-wincred erase with a password field. The overflow in match_cred_password() fires before the password comparison, crashing the helper with heap-corruption status 0xC0000374 so the credential is never deleted - yet 'git credential reject' still reports success. A working PoC reproducing this crash is included in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Heap corruption in the git-credential-wincred helper shipped with Git for Windows 2.43.0.windows.1 through 2.55.0.windows.3 causes the helper to overwrite one WCHAR past a heap allocation whenever 'erase' is invoked with a password field for a matching git:* entry in Windows Credential Manager - the path Git takes on 'git credential reject' after an authentication failure. The primitive is a fixed two-byte 00 00 overflow that can terminate the helper with Windows heap-corruption status 0xC0000374 before the credential is deleted, so 'git credential reject' can report success while the rejected credential remains stored. Exploitation is local and requires the non-default wincred helper to be configured with a pre-existing stored credential; this is not confirmed actively exploited and is not in CISA KEV, though the public GHSA advisory documents a PoC reproduction that demonstrates the crash (not verified as working exploit code for code execution).
RemediationAI
Vendor-released patch: upgrade to Git for Windows 2.55.0.windows.3 (https://github.com/git-for-windows/git/releases/tag/v2.55.0.windows.3), which carries commit b4d1fb62c7e2fdcab5a018e25e51acb196eb1756 that allocates (wlen + 1) * sizeof(WCHAR) and passes wlen + 1 as the wcsncpy_s() destination capacity, per advisory GHSA-5j7x-r6vf-jhq2. Where updating cannot be done immediately, the exposure is confined to hosts running the wincred helper: reconfiguring credential.helper to the default Git Credential Manager (or the manager-core helper) takes the vulnerable binary out of the erase path entirely, at the cost of re-authenticating and re-populating stored credentials under the new helper's store. Note that erase operations without a password field never enter the vulnerable comparison path, although that is not a reliable control because Git itself supplies the password field on 'git credential reject'. The advisory also recommends regression tests for erase/reject with 1-character and 100-character stored passwords, mismatched passwords, password-less erase, and odd CredentialBlobSize values, plus centralizing safe WinCred blob-to-NUL-terminated-WCHAR conversion and auditing other CredentialBlobSize, wcsncpy_s(), _scwprintf() and _snwprintf_s() uses in the helper; operators can detect prior occurrences through Windows Application Error events for git-credential-wincred.exe exiting with 0xC0000374 and through 'cmdkey /list' still showing a git: credential after a rejection.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected code is the contributed credential helper in contrib/credential/wincred/git-credential-wincred.c, which bridges Git's credential protocol to the Windows Credential Manager API. In match_cred_password(), the helper allocates a buffer using cred->CredentialBlobSize (a byte count reported by CredReadW) and then calls wcsncpy_s() with that same byte value as the destination capacity, even though wcsncpy_s() expects a capacity expressed in WCHAR elements. Because the allocation also reserves no room for the terminating wide NUL that wcsncpy_s() always writes, an N-character stored password produces an allocation of N*sizeof(WCHAR) bytes but a write of (N+1)*sizeof(WCHAR) bytes - a two-byte overflow of a fixed 00 00 value. The comparison runs inside match_cred() from the erase loop that decides whether to call CredDeleteW(), so the corruption occurs before the password comparison result is known, and both matching and mismatched reject passwords trigger it. This is CWE-787 (out-of-bounds write) arising from a unit-confusion defect (bytes versus WCHAR elements) combined with a missing terminator allowance; the advisory notes the primitive did not yield demonstrated code execution, privilege escalation, cross-user impact, or credential disclosure. The upstream fix in commit b4d1fb62c7e2fdcab5a018e25e51acb196eb1756 computes wlen = CredentialBlobSize / sizeof(WCHAR), allocates (wlen + 1) * sizeof(WCHAR), and passes wlen + 1 as the destination capacity; the advisory's suggested patch additionally rejects CredentialBlobSize values that are not a multiple of sizeof(WCHAR).
Know when Windows gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Local helper trigger (AV:L), deterministic overflow (AC:L), no privileges to run the helper (PR:N) but requires the erase/reject workflow (UI:R); only crash and stale-credential retention give A:L/I:L, no disclosure so C:N.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio
Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in
A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr
Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables
Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker
An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote
Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio
Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/
Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then
External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network
Siemens Software Center (all versions) loads dynamic-link libraries from an uncontrolled search path, allowing an authen
Windows CLFS Driver contains an input validation flaw enabling local privilege escalation, yet another CLFS kernel vulne
EUVD-2026-116937
NVD
CVE.org
EPSS
GitHub
Exploit-DB