{"schemaVersion":4,"id":"CVE-2026-100407","aliases":["UBUNTU-CVE-2026-100407"],"status":"published","duplicateOf":null,"title":"Git for Windows: git-credential-wincred OAuth Store Heap Overflow","description":"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.","dates":{"published":"2026-11-04T15:07:59.401Z","modified":"2026-11-05T19:07:18.059Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","exploitability":4.6,"impact":4.2,"computed":true}]},"epss":{"probability":0.00155,"percentile":0.0476,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-05T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00155,"percentile":0.0476}],"last30":[{"date":"2026-11-05T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00155,"percentile":0.0476}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"ubuntu","product":"git","name":"git","label":"git","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/git","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"git-for-windows","product":"git","name":"git","label":"git","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.44.0.windows.1, < 2.55.0.windows.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.44.0.windows.1","startInclusive":true,"end":"2.55.0.windows.3","endInclusive":false}}],"versionsText":"≥ 2.44.0.windows.1, < 2.55.0.windows.3","eol":null,"hubHref":"/vendor/git-for-windows/git"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-v3h4-vrpr-rh9x","label":"github.com/git-for-windows/git/security/advisories/GHSA-v3h4-vrpr-rh9x","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/git-for-windows/git/commit/52ca1113d651127f89477a8763f86ab20f645e1d","label":"github.com/git-for-windows/git/commit/52ca1113d651127f89477a8763f86ab20f645e1d","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/git-for-windows/git/releases/tag/v2.55.0.windows.3","label":"github.com/git-for-windows/git/releases/tag/v2.55.0.windows.3","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://ubuntu.com/security/CVE-2026-100407","label":"ubuntu.com/security/CVE-2026-100407","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-100407","label":"www.cve.org/CVERecord?id=CVE-2026-100407","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-04T15:07:59.401Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-05T19:07:18.059Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,44],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00155,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-05T19:07:18.059Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-05T19:07:18.059Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-05T19:07:18.059Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-04T20:41:14.929Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.00155,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:16:22.906Z","stale":false,"partial":false}}