CVE-2025-48386
JSON

6.3medium

Git allows a buffer overflow in 'wincred' credential helper

Severity
6.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.43% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-GIT-2025-48386GHSA-4v56-3xvj-xvfr

Description

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.

Affected

Product or packageVersionsReported by
git git< 2.43.7, >= 2.44.0-rc0, < 2.44.4, >= 2.45.0-rc0, < 2.45.4, >= 2.46.0-rc0, < 2.46.4, >= 2.47.0-rc0, < 2.47.3, >= 2.48.0-rc0, < 2.48.2, >= 2.49.0-rc0, < 2.49.1, >= 2.50.0-rc0, < 2.50.1CVE List
git (Bitnami)before 2.50.1Bitnami Vulnerability Database

All scores

GitHub_M6.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-120

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Git es un sistema de control de versiones distribuido, rápido y escalable con un conjunto de comandos excepcionalmente completo que proporciona operaciones de alto nivel y acceso completo a los componentes internos. El asistente de credenciales wincred utiliza un búfer estático (target) como clave única para almacenar y comparar con el almacenamiento interno. Este asistente de credenciales no realiza una comprobación de los límites adecuada del espacio disponible en el búfer antes de añadir datos con wcsncat(), lo que puede provocar desbordamientos del búfer. Esta vulnerabilidad está corregida en las versiones v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1 y v2.50.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-48386 changed 2025-11-04CVE Terms of Use
NVDCVE-2025-48386 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GIT-2025-48386 changed 2025-11-06Apache-2.0