Skip to main content

Git for Windows EUVDEUVD-2026-116937

| CVE-2026-100408 MEDIUM
Out-of-bounds Write (CWE-787)
2026-11-04 security-advisories@github.com
4.4
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Stored git:* credential exists in Credential Manager
  2. Delivery
    erase invoked with password field
  3. Exploit
    fixed two-byte NUL written past heap buffer
  4. Execution
    helper crashes before credential deletion
  5. Impact
    stale 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Git 2.43.0.windows.1, < 2.55.0.windows.3

Affected Packages

euvd git fix: 2.55.0.windows.3

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

Vendor (github) PRIMARY 4.4 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
vuln.today AI 4.4 MEDIUM

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Red Hat 4.4 MEDIUM

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Patch available
Nov 04, 2026 - 16:02 EUVD
CVE Published
Nov 04, 2026 - 15:17 cve.org
MEDIUM 4.4

DescriptionCVE.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

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
Git for Windows widely deployed; wincred helper non-default and rarely configured
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2025-52691 CRITICAL POC
10.0 Dec 29

Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio

CVE-2019-0803 HIGH POC
7.8 Apr 09

Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in

CVE-2020-1472 MEDIUM POC
5.5 Aug 17

A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr

CVE-2025-33053 HIGH POC
8.8 Jun 10

Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables

CVE-2025-33073 HIGH POC
8.8 Jun 10

Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker

CVE-2013-10047 CRITICAL POC
9.3 Aug 01

An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote

CVE-2025-34101 CRITICAL POC
9.3 Jul 10

Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio

CVE-2025-34095 CRITICAL POC
9.3 Jul 10

Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/

CVE-2026-96951 HIGH POC
8.8 Oct 13

Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then

CVE-2025-24054 MEDIUM POC
6.5 Mar 11

External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network

CVE-2026-110936 HIGH POC
8.4 Oct 15

Siemens Software Center (all versions) loads dynamic-link libraries from an uncontrolled search path, allowing an authen

CVE-2025-32706 HIGH POC
7.8 May 13

Windows CLFS Driver contains an input validation flaw enabling local privilege escalation, yet another CLFS kernel vulne

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy