Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConfigure git-credential-wincred as helper
-
ExploitOAuth flow supplies password plus oauth_refresh_token to store
-
ExecutionMis-sized buffer writes NUL past heap allocation
-
ImpactHelper crashes (0xC0000374), credential silently not persisted
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 | Requires that git-credential-wincred (a contrib credential helper, NOT the default on Git for Windows, which ships Git Credential Manager) is built and explicitly configured as the credential helper, that Git invokes it with the 'store' operation, and that the credential protocol input contains BOTH a password AND an oauth_refresh_token field - i.e. an OAuth authentication flow. Affected versions are v2.44.0.windows.1 up to the fix. Limiting factors that reduce realistic risk: exploitation is local only (AV:L), it depends on the non-default wincred helper being in use, it is specific to the OAuth refresh-token store path (the no-oauth_refresh_token branch uses _wcsdup and is unaffected), and only certain formatted-secret lengths crash the process; the demonstrated outcome is a crash plus silent non-persistence, not attacker-controlled code execution. |
| Impact | This is a genuinely low-to-moderate real-world risk despite being a memory-corruption/CWE-787 class bug. The input CVSS of 4.4 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L) is consistent with the evidence: the flaw is local-only (AV:L), triggered during a credential-store operation (UI:R), and its demonstrated impact is limited to a helper crash (A:L) and silent non-persistence of an OAuth credential (I:L), with explicitly no confidentiality impact (C:N). The GHSA advisory and reporter testing confirm the overflow is a FIXED two-byte NUL (00 00) write one WCHAR past the heap allocation - controlled code execution, privilege escalation, cross-user impact, and credential disclosure were explicitly NOT demonstrated. No KEV listing and no EPSS score are present in the input, so there is no signal of active or probable exploitation; exploitation status is best described as a public PoC that reproducibly crashes the helper but is not a working code-execution exploit. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with a patch-on-normal-cadence priority. CONFLICT TO VERIFY: the description and the GitHub release tag state the fix is in 2.55.0.windows.3, but the package-tracker line reports 'fixed in: not yet patched' with a vulnerable range of v2.44.0.windows.1 through v2.54.0.windows.1 - confirm the authoritative fixed version with the vendor advisory before relying on remediation status. |
| Exploit ScenarioDerived | During a legitimate OAuth-based Git authentication flow on Windows, Git passes both a password/access-token and an oauth_refresh_token to a configured git-credential-wincred 'store' operation; the helper mis-sizes the wide-character buffer and writes a two-byte NUL past the heap allocation, crashing with Windows heap-corruption status 0xC0000374 before CredWriteW() persists the credential. A public PoC in the GHSA advisory reproducibly triggers this crash at multiple credential lengths (e.g. 15, 19, 23 chars) and shows that 'git credential approve' can return success even though no credential was actually stored. The attack vector is local (AV:L) and tied to the OAuth store path rather than remote input, so this manifests as a reliability/integrity defect more than a weaponizable exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
A heap out-of-bounds write in the git-credential-wincred helper causes a fixed two-byte NUL overwrite when storing credentials that carry both a password and an oauth_refresh_token; in affected Git for Windows builds the helper can abort with Windows heap-corruption status 0xC0000374, and git credential approve can still report success even though the OAuth credential was never persisted. The bug affects Git for Windows v2.44.0.windows.1 up through versions before the 2.55.0.windows.3 fix, but only for users who build and explicitly configure the contrib wincred helper (Git for Windows ships Git Credential Manager as the default, and the non-OAuth _wcsdup branch is unaffected), and only for certain formatted-secret lengths. Exploitation requires local interaction during an OAuth sign-in flow and results in a crash plus silent credential-storage failure rather than attacker-controlled code execution; CISA KEV does not list it, and the public advisory includes a crash reproducer rather than working exploit code, so this is a low-to-moderate operational issue centered on reliability of OAuth credential persistence.
RemediationAI
Vendor-released patch: upgrade Git for Windows to 2.55.0.windows.3 or later, which contains commit 52ca1113d651127f89477a8763f86ab20f645e1d (release: https://github.com/git-for-windows/git/releases/tag/v2.55.0.windows.3; advisory: https://github.com/git-for-windows/git/security/advisories/GHSA-v3h4-vrpr-rh9x). For environments that cannot upgrade immediately, the vulnerability is dormant unless the contrib wincred helper is in use, so removing it from credential.helper configuration and relying on the default Git Credential Manager (or another maintained helper) removes the exposure - at the cost of losing wincred-specific Credential Manager integration that some scripts depend on. Because failures are silent, teams still running the helper should watch for git-credential-wincred.exe exiting with 0xC0000374 in Windows Application Error events, repeated authentication prompts after a successful git credential approve, and missing git: entries in cmdkey /list after an OAuth approval. If the helper must be used, avoid the OAuth refresh-token store path (it is only reached when oauth_refresh_token is supplied) until the fixed build is deployed.
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 vulnerable code is in contrib/credential/wincred/git-credential-wincred.c (around lines 209-212), in the store operation of Git's wincred credential helper. When oauth_refresh_token is present, the helper sizes the formatted wide string with _scwprintf(L"%s\r\noauth_refresh_token=%s", ...), which returns a wide-character count that excludes the terminating NUL. It then allocates sizeof(WCHAR) * wlen - one WCHAR short - and calls _snwprintf_s() with sizeof(WCHAR) * wlen as the destination capacity, a byte count where the function expects a count in wide characters. The result is an off-by-one WCHAR (two-byte) write of a NUL terminator past the heap allocation, occurring before the secret is handed to the Windows Credential Manager API CredWriteW(). This is CWE-787 (out-of-bounds write); the write is a fixed 00 00 before the heap tail, and testing in the upstream advisory reached heap guard bytes, produced exit code 0xC0000374 (Windows heap corruption), and in some lengths silently failed to persist the credential. The upstream fix (commit 52ca1113d651127f89477a8763f86ab20f645e1d) allocates (wlen + 1) * sizeof(WCHAR) and passes wlen + 1 as the character capacity, alongside a _TRUNCATE argument. The trigger requires the OAuth store path specifically: the branch without oauth_refresh_token uses _wcsdup() and is not affected.
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 triggered during an OAuth credential store (AV:L, UI:R); no privileges needed but a fixed 2-byte NUL overwrite only crashes the helper (A:L) and silently drops credential persistence (I:L), with no disclosure (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.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.
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-116936
NVD
CVE.org
EPSS
GitHub
Exploit-DB