{"id":"CVE-2026-100408","published":"2026-11-04T15:12:10Z","modified":"2026-11-09T16:21:10Z","title":"Git for Windows: git-credential-wincred Erase Path Heap Overflow","vendor":"git-for-windows","product":"git","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00222,"percentile":0.12795,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-5j7x-r6vf-jhq2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/git-for-windows/git/commit/b4d1fb62c7e2fdcab5a018e25e51acb196eb1756","tags":["x_refsource_MISC"]},{"url":"https://github.com/git-for-windows/git/releases/tag/v2.55.0.windows.3","tags":["x_refsource_MISC"]}],"priority":{"score":5.6,"factors":[{"name":"EPSS percentile","points":2.56},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"git-for-windows","affectedVersions":[{"vendor":"git-for-windows","product":"git","versions":[">= 2.43.0.windows.1, < 2.55.0.windows.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-09T16:20:25.703182Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-116937","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-git-for-windows-git-cve-2026-100407","parents":[{"from":"CVE-2026-100407","to":"CVE-2026-100408","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["contrib/credential/wincred/git-credential-wincred.c"],"commits":["https://github.com/git-for-windows/git/commit/52ca1113d651127f89477a8763f86ab20f645e1d","https://github.com/git-for-windows/git/commit/b4d1fb62c7e2fdcab5a018e25e51acb196eb1756"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.51,"basis":"same product + CWE + description similarity"}]}]}}