CVEfocus › CVE database › CVE-2026-100408

CVE-2026-100408Git for Windows: git-credential-wincred Erase Path Heap Overflow

CVSS 4.4 MediumEPSS 0.2% (higher than 3% of CVEs)Published 2026-11-04Updated 2026-11-09Assigner: GitHub_M

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.

CWE-787

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fix pending
3Under investigation
75Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10gitFix pendingUBUNTU-CVE-2026-100408
Ubuntu 26.04gitUnder investigationUBUNTU-CVE-2026-100408
Ubuntu 24.04gitUnder investigationUBUNTU-CVE-2026-100408
Ubuntu 22.04gitUnder investigationUBUNTU-CVE-2026-100408
Ubuntu 20.04gitFix pendingUBUNTU-CVE-2026-100408
Ubuntu 18.04gitFix pendingUBUNTU-CVE-2026-100408
Ubuntu 16.04gitFix pendingUBUNTU-CVE-2026-100408
Red Hat Enterprise Linux 10gitNot affected
Red Hat Enterprise Linux 10git-allNot affected
Red Hat Enterprise Linux 10git-coreNot affected
Red Hat Enterprise Linux 10git-core-docNot affected
Red Hat Enterprise Linux 10git-credential-libsecretNot affected
Red Hat Enterprise Linux 10git-daemonNot affected
Red Hat Enterprise Linux 10git-emailNot affected
Red Hat Enterprise Linux 10git-guiNot affected
Red Hat Enterprise Linux 10git-instawebNot affected
Red Hat Enterprise Linux 10git-subtreeNot affected
Red Hat Enterprise Linux 10git-svnNot affected
Red Hat Enterprise Linux 10gitkNot affected
Red Hat Enterprise Linux 10gitwebNot affected
Red Hat Enterprise Linux 10perl-GitNot affected
Red Hat Enterprise Linux 10perl-Git-SVNNot affected
Red Hat Enterprise Linux 9gitNot affected
Red Hat Enterprise Linux 9git-allNot affected
Red Hat Enterprise Linux 9git-coreNot affected
Red Hat Enterprise Linux 9git-core-docNot affected
Red Hat Enterprise Linux 9git-credential-libsecretNot affected
Red Hat Enterprise Linux 9git-daemonNot affected
Red Hat Enterprise Linux 9git-emailNot affected
Red Hat Enterprise Linux 9git-guiNot affected
Red Hat Enterprise Linux 9git-instawebNot affected
Red Hat Enterprise Linux 9git-subtreeNot affected
Red Hat Enterprise Linux 9git-svnNot affected
Red Hat Enterprise Linux 9gitkNot affected
Red Hat Enterprise Linux 9gitwebNot affected
Red Hat Enterprise Linux 9perl-GitNot affected
Red Hat Enterprise Linux 9perl-Git-SVNNot affected
Red Hat Enterprise Linux 8gitNot affected
Red Hat Enterprise Linux 8git-allNot affected
Red Hat Enterprise Linux 8git-coreNot affected
Red Hat Enterprise Linux 8git-core-docNot affected
Red Hat Enterprise Linux 8git-credential-libsecretNot affected
Red Hat Enterprise Linux 8git-daemonNot affected
Red Hat Enterprise Linux 8git-emailNot affected
Red Hat Enterprise Linux 8git-guiNot affected
Red Hat Enterprise Linux 8git-instawebNot affected
Red Hat Enterprise Linux 8git-subtreeNot affected
Red Hat Enterprise Linux 8git-svnNot affected
Red Hat Enterprise Linux 8gitkNot affected
Red Hat Enterprise Linux 8gitwebNot affected
Red Hat Enterprise Linux 8perl-GitNot affected
Red Hat Enterprise Linux 8perl-Git-SVNNot affected
Red Hat Enterprise Linux 7emacs-gitNot affected
Red Hat Enterprise Linux 7emacs-git-elNot affected
Red Hat Enterprise Linux 7gitNot affected
Red Hat Enterprise Linux 7git-allNot affected
Red Hat Enterprise Linux 7git-bzrNot affected
Red Hat Enterprise Linux 7git-cvsNot affected
Red Hat Enterprise Linux 7git-daemonNot affected
Red Hat Enterprise Linux 7git-emailNot affected
Red Hat Enterprise Linux 7git-gnome-keyringNot affected
Red Hat Enterprise Linux 7git-guiNot affected
Red Hat Enterprise Linux 7git-hgNot affected
Red Hat Enterprise Linux 7git-instawebNot affected
Red Hat Enterprise Linux 7git-p4Not affected
Red Hat Enterprise Linux 7git-svnNot affected
Red Hat Enterprise Linux 7gitkNot affected
Red Hat Enterprise Linux 7gitwebNot affected
Red Hat Enterprise Linux 7perl-GitNot affected
Red Hat Enterprise Linux 7perl-Git-SVNNot affected
Red Hat Enterprise Linux 6emacs-gitNot affected
Red Hat Enterprise Linux 6emacs-git-elNot affected
Red Hat Enterprise Linux 6gitNot affected
Red Hat Enterprise Linux 6git-allNot affected
Red Hat Enterprise Linux 6git-cvsNot affected
Red Hat Enterprise Linux 6git-daemonNot affected
Red Hat Enterprise Linux 6git-emailNot affected
Red Hat Enterprise Linux 6git-guiNot affected
Red Hat Enterprise Linux 6git-svnNot affected
Red Hat Enterprise Linux 6gitkNot affected
Red Hat Enterprise Linux 6gitwebNot affected
Red Hat Enterprise Linux 6perl-GitNot affected

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.