{"id":"CVE-2026-100407","aliases":["CVE-2026-100407"],"related":[],"kind":"vulnerability","state":"published","title":"Git for Windows: git-credential-wincred OAuth Store Heap Overflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-04T15:07:59.401Z","modified":"2026-11-12T20:04:52.377Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":">= 2.44.0.windows.1, < 2.55.0.windows.3","status":"affected"}],"vendor":"git-for-windows","product":"git","source":"cvelist"}],"references":[{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-v3h4-vrpr-rh9x","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/git-for-windows/git/commit/52ca1113d651127f89477a8763f86ab20f645e1d","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/git-for-windows/git/releases/tag/v2.55.0.windows.3","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-04T20:41:14.929Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100407","url":"https://www.cve.org/CVERecord?id=CVE-2026-100407","licence":"CVE Terms of Use","modified":"2026-11-05T19:07:18.059Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100407","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100407","licence":"Public domain","modified":"2026-11-12T20:04:52.377Z"}],"updatedAt":"2026-11-25T22:59:49.001Z","epss":{"score":0.00155,"percentile":0.04809,"date":"2026-12-01T12:00:22.000Z"}}