CVE-2026-100407Git for Windows: git-credential-wincred OAuth Store Heap Overflow
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.
What to do
Red Hat, Ubuntu have 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | git | Fix pending | UBUNTU-CVE-2026-100407 | |
| Ubuntu 26.04 | git | Under investigation | UBUNTU-CVE-2026-100407 | |
| Ubuntu 24.04 | git | Under investigation | UBUNTU-CVE-2026-100407 | |
| Ubuntu 22.04 | git | Under investigation | UBUNTU-CVE-2026-100407 | |
| Ubuntu 20.04 | git | Fix pending | UBUNTU-CVE-2026-100407 | |
| Ubuntu 18.04 | git | Fix pending | UBUNTU-CVE-2026-100407 | |
| Ubuntu 16.04 | git | Fix pending | UBUNTU-CVE-2026-100407 | |
| Red Hat Enterprise Linux 10 | git | Under investigation | ||
| Red Hat Enterprise Linux 9 | git | Under investigation | ||
| Red Hat Enterprise Linux 9 | git-all | Under investigation | ||
| Red Hat Enterprise Linux 9 | git-core | Under investigation | ||
| Red Hat Enterprise Linux 9 | git-core-doc | Under investigation | ||
| Red Hat Enterprise Linux 9 | git-credential-libsecret | Under investigation | ||
| Red Hat Enterprise Linux 9 | git-daemon | Under investigation | ||
| Red Hat Enterprise Linux 9 | git-email | Under investigation | ||
| Red Hat Enterprise Linux 9 | git-gui | Under investigation | ||
| Red Hat Enterprise Linux 9 | git-instaweb | Under investigation | ||
| Red Hat Enterprise Linux 9 | git-subtree | Under investigation | ||
| Red Hat Enterprise Linux 9 | git-svn | Under investigation | ||
| Red Hat Enterprise Linux 9 | gitk | Under investigation | ||
| Red Hat Enterprise Linux 9 | gitweb | Under investigation | ||
| Red Hat Enterprise Linux 9 | perl-Git | Under investigation | ||
| Red Hat Enterprise Linux 9 | perl-Git-SVN | Under investigation | ||
| Red Hat Enterprise Linux 8 | git | Under investigation | ||
| Red Hat Enterprise Linux 8 | git-all | Under investigation | ||
| Red Hat Enterprise Linux 8 | git-core | Under investigation | ||
| Red Hat Enterprise Linux 8 | git-core-doc | Under investigation | ||
| Red Hat Enterprise Linux 8 | git-credential-libsecret | Under investigation | ||
| Red Hat Enterprise Linux 8 | git-daemon | Under investigation | ||
| Red Hat Enterprise Linux 8 | git-email | Under investigation | ||
| Red Hat Enterprise Linux 8 | git-gui | Under investigation | ||
| Red Hat Enterprise Linux 8 | git-instaweb | Under investigation | ||
| Red Hat Enterprise Linux 8 | git-subtree | Under investigation | ||
| Red Hat Enterprise Linux 8 | git-svn | Under investigation | ||
| Red Hat Enterprise Linux 8 | gitk | Under investigation | ||
| Red Hat Enterprise Linux 8 | gitweb | Under investigation | ||
| Red Hat Enterprise Linux 8 | perl-Git | Under investigation | ||
| Red Hat Enterprise Linux 8 | perl-Git-SVN | Under investigation | ||
| Red Hat Enterprise Linux 7 | emacs-git | Under investigation | ||
| Red Hat Enterprise Linux 7 | emacs-git-el | Under investigation | ||
| Red Hat Enterprise Linux 7 | git | Under investigation | ||
| Red Hat Enterprise Linux 7 | git-all | Under investigation | ||
| Red Hat Enterprise Linux 7 | git-bzr | Under investigation | ||
| Red Hat Enterprise Linux 7 | git-cvs | Under investigation | ||
| Red Hat Enterprise Linux 7 | git-daemon | Under investigation | ||
| Red Hat Enterprise Linux 7 | git-email | Under investigation | ||
| Red Hat Enterprise Linux 7 | git-gnome-keyring | Under investigation | ||
| Red Hat Enterprise Linux 7 | git-gui | Under investigation | ||
| Red Hat Enterprise Linux 7 | git-hg | Under investigation | ||
| Red Hat Enterprise Linux 7 | git-instaweb | Under investigation | ||
| Red Hat Enterprise Linux 7 | git-p4 | Under investigation | ||
| Red Hat Enterprise Linux 7 | git-svn | Under investigation | ||
| Red Hat Enterprise Linux 7 | gitk | Under investigation | ||
| Red Hat Enterprise Linux 7 | gitweb | Under investigation | ||
| Red Hat Enterprise Linux 7 | perl-Git | Under investigation | ||
| Red Hat Enterprise Linux 7 | perl-Git-SVN | Under investigation | ||
| Red Hat Enterprise Linux 6 | emacs-git | Under investigation | ||
| Red Hat Enterprise Linux 6 | emacs-git-el | Under investigation | ||
| Red Hat Enterprise Linux 6 | git | Under investigation | ||
| Red Hat Enterprise Linux 6 | git-all | Under investigation | ||
| Red Hat Enterprise Linux 6 | git-cvs | Under investigation | ||
| Red Hat Enterprise Linux 6 | git-daemon | Under investigation | ||
| Red Hat Enterprise Linux 6 | git-email | Under investigation | ||
| Red Hat Enterprise Linux 6 | git-gui | Under investigation | ||
| Red Hat Enterprise Linux 6 | git-svn | Under investigation | ||
| Red Hat Enterprise Linux 6 | gitk | Under investigation | ||
| Red Hat Enterprise Linux 6 | gitweb | Under investigation | ||
| Red Hat Enterprise Linux 6 | perl-Git | Under investigation |
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.
- git-for-windows git: affected: >= 2.44.0.windows.1, < 2.55.0.windows.3
References
- https://github.com/git-for-windows/git/security/advisories/GHSA-v3h4-vrpr-rh9x
- https://github.com/git-for-windows/git/commit/52ca1113d651127f89477a8763f86ab20f645e1d
- https://github.com/git-for-windows/git/releases/tag/v2.55.0.windows.3
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.