{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-100408","id":"CVE-2026-100408","title":"Git for Windows buffer overflow in wincred credential erase","description":"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","descriptionLong":"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.","published":"2026-11-04T15:12:10.794Z","updated":"2026-11-14T07:06:33.285016901Z","reserved":"2026-09-25T20:08:33.084Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","rating":"medium","source":"OSV"}],"rating":"medium","products":["git-for-windows git"],"affectedProducts":[{"vendor":"git-for-windows","product":"git","defaultStatus":null,"versions":[{"version":">= 2.43.0.windows.1, < 2.55.0.windows.3","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-787"],"aliases":["GHSA-5j7x-r6vf-jhq2"],"references":[{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-5j7x-r6vf-jhq2","tags":["x_refsource_CONFIRM","exploit","advisory"]},{"url":"https://github.com/git-for-windows/git/commit/b4d1fb62c7e2fdcab5a018e25e51acb196eb1756","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/git-for-windows/git/releases/tag/v2.55.0.windows.3","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100408.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100408","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00117,"epssPercentile":0.01687,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-100408","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100408","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-100408","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-100408","ok":true,"note":"scored 2026-11-18"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}