Skip to content
Fencer Vulns
medium 6.3

CVE-2025-48386 json

Git allows a buffer overflow in 'wincred' credential helper

published 2025-07-08 16 mo ago modified 2026-06-17 4 mo ago also BIT-git-2025-48386 , EUVD-2025-20679 , GHSA-4v56-3xvj-xvfr

cvss
6.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 37%
public exploits
0
none known

Summary

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. The wincred credential helper uses a static buffer (target) as a unique key for storing and comparing against internal storage. This credential helper does not properly bounds check the available space remaining in the buffer before appending to it with wcsncat(), leading to potential buffer overflows. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.

Patch / fix

  • bitnami git 2.50.1
  • git-scm git 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1
  • git git 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1
  • git_project git 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1
  • git Ubuntu 22.04 LTS 1:2.34.1-1ubuntu1.13
  • git Ubuntu 24.04 LTS 1:2.43.0-1ubuntu7.3
  • git Ubuntu Pro 16.04 LTS 1:2.7.4-0ubuntu1.10+esm9
  • git Ubuntu Pro 18.04 LTS 1:2.17.1-1ubuntu0.18+esm2
  • git Ubuntu Pro 20.04 LTS 1:2.25.1-1ubuntu3.14+esm1

ubuntu advisories UBUNTU-CVE-2025-48386

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • git Linux Micro 6.1 2.51.0-slfo.1.1_1.1
  • git Linux Micro 6.0 2.51.0-1.1

suse advisories SUSE-SU-2025:20855-1SUSE-SU-2025:20721-1

  • git openSUSE Tumbleweed 2.50.1-1.1

opensuse advisories openSUSE-SU-2025:15337-1

  • git Alpine 3.19 2.43.7-r0
  • git Alpine 3.20 2.45.4-r0
  • git Alpine 3.21 2.47.3-r0
  • git Alpine 3.22 2.49.1-r0
  • git Alpine 3.24, Alpine 3.23 2.50.1-r0

alpine advisories ALPINE-CVE-2025-48386

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-48386 updated cvss 6.3

git: Git buffer overflow

  • Red Hat Enterprise Linux 6 git, gitk, gitweb, git-all, git-cvs, git-gui, +6 more Red Hat Enterprise Linux 7 git, gitk, git-hg, git-p4, gitweb, git-all, +12 more Red Hat Enterprise Linux 8 git, gitk, gitweb, git-all, git-gui, git-svn, +8 more Red Hat Enterprise Linux 9 git, gitk, gitweb, git-all, git-gui, git-svn, +8 more Red Hat Enterprise Linux 10 git Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9
    +1 more products
    Red Hat OpenShift Dev Spaces devspaces/code-rhel9
    affected: workaround, no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
16 mo ago

Exploit prediction

0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
OSV 3.1 6.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
bitnami git
<2.50.1
2.50.1

Affected products

  • git git

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.