cve.bz

CVE-2025-48386 git git: Classic Buffer Overflow

6.3 mediumEPSS 0.4%

Medium (6.3) in git git. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.3 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-07-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-48386 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-48386?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-48386?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-48386 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
git< 2.43.7
git>= 2.44.0-rc0, < 2.44.4
git>= 2.45.0-rc0, < 2.45.4
git>= 2.46.0-rc0, < 2.46.4
git>= 2.47.0-rc0, < 2.47.3
git>= 2.48.0-rc0, < 2.48.2
git>= 2.49.0-rc0, < 2.49.1
git>= 2.50.0-rc0, < 2.50.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu22.04:LTSgit1:2.34.1-1ubuntu1.13UBUNTU-CVE-2025-48386 USN-7626-1
Ubuntu24.04:LTSgit1:2.43.0-1ubuntu7.3UBUNTU-CVE-2025-48386 USN-7626-1
UbuntuPro:16.04:LTSgit1:2.7.4-0ubuntu1.10+esm9UBUNTU-CVE-2025-48386 USN-7626-1
UbuntuPro:18.04:LTSgit1:2.17.1-1ubuntu0.18+esm2UBUNTU-CVE-2025-48386 USN-7626-1
UbuntuPro:20.04:LTSgit1:2.25.1-1ubuntu3.14+esm1UBUNTU-CVE-2025-48386 USN-7626-1
SUSELinux Micro 6.0git2.51.0-1.1SUSE-SU-2025:20721-1
SUSELinux Micro 6.1git2.51.0-slfo.1.1_1.1SUSE-SU-2025:20855-1
openSUSETumbleweedgit2.50.1-1.1openSUSE-SU-2025:15337-1
Alpinev3.19git2.43.7-r0ALPINE-CVE-2025-48386
Alpinev3.20git2.45.4-r0ALPINE-CVE-2025-48386
Alpinev3.21git2.47.3-r0ALPINE-CVE-2025-48386
Alpinev3.22git2.49.1-r0ALPINE-CVE-2025-48386
Alpinev3.23, v3.24git2.50.1-r0ALPINE-CVE-2025-48386
Alpaquita23git2.43.7-r0BELL-CVE-2025-48386
Alpaquita25git2.49.1-r0BELL-CVE-2025-48386
Alpaquitastreamgit2.50.1-r0BELL-CVE-2025-48386

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10gitFix deferred
Red Hat Enterprise Linux 6gitFix deferred
Red Hat Enterprise Linux 7gitFix deferred
Red Hat Enterprise Linux 8gitFix deferred
Red Hat Enterprise Linux 9gitFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/code-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-48386.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON