Every CVE Search/ Get API key

CVE-2025-48386

Git allows a buffer overflow in 'wincred' credential helper

6.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.43%Up 0.4 points since Jul 9, 2025
90%50%10%1%

What each source reports

CVE List Score used 6.3

Git allows a buffer overflow in 'wincred' credential helper

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.

Record
CVE-2025-48386
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Weakness
CWE-120
Updated
2026-11-02
EUVDEUVD-2025-20679 6.3

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.

Record
EUVD-2025-20679
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Updated
2026-11-02
NVD 6.3

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.

Record
CVE-2025-48386
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Weakness
CWE-120
Updated
2026-11-02
OSVALPINE-CVE-2025-48386 6.3

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.

Record
ALPINE-CVE-2025-48386
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Updated
2026-11-02
OSVBELL-CVE-2025-48386 6.3
Record
BELL-CVE-2025-48386
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Updated
2026-11-02
OSV 6.3

Git allows a buffer overflow in 'wincred' credential helper

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.

Record
CVE-2025-48386
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Weakness
CWE-120
Updated
2026-11-02
Show 14 moreShow less
OSVOESA-2025-1792 8.0

git security update

Security Fix(es):

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. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. 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.(CVE-2025-48384)

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.(CVE-2025-48386)

Record
OESA-2025-1792
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-1793 8.0

git security update

Security Fix(es):

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. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. 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.(CVE-2025-48384)

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.(CVE-2025-48386)

Record
OESA-2025-1793
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-1844 8.6

git security update

Security Fix(es):

A vulnerability was found in Microsoft Visual Studio (Programming Tool Software) (affected version not known). It has been classified as problematic.This is going to have an impact on confidentiality, integrity, and availability.Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability.(CVE-2025-27613)

A vulnerability, which was classified as problematic, has been found in Microsoft Visual Studio (Programming Tool Software) (version unknown).Impacted is confidentiality, integrity, and availability.Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability.(CVE-2025-46334)

A vulnerability was found in j6t git-gui up to 2.50.0 (Versioning Software). It has been rated as critical.Using CWE to declare the problem leads to CWE-88. The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.Impacted is confidentiality, integrity, and availability.The vulnerability scanner Nessus provides a plugin with the ID 241644 (FreeBSD : git -- multiple vulnerabilities (2a4472ed-5c0d-11f0-b991-291fce777db8)), which helps to determine the existence of the flaw in a target environment.Upgrading to version 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1 or 2.50.1 eliminates this vulnerability.The vulnerability is also documented in the vulnerability database at Tenable (241644).(CVE-2025-46835)

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. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. 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.(CVE-2025-48384)

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.(CVE-2025-48386)

Record
OESA-2025-1844
CVSS 3.1
8.6 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-1845 8.6

git security update

Security Fix(es):

A vulnerability was found in Microsoft Visual Studio (Programming Tool Software) (affected version not known). It has been classified as problematic.This is going to have an impact on confidentiality, integrity, and availability.Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability.(CVE-2025-27613)

A vulnerability was found in Microsoft Visual Studio (Programming Tool Software) (the affected version unknown). It has been declared as problematic.As an impact it is known to affect confidentiality, integrity, and availability.Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability.(CVE-2025-27614)

A vulnerability, which was classified as problematic, has been found in Microsoft Visual Studio (Programming Tool Software) (version unknown).Impacted is confidentiality, integrity, and availability.Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability.(CVE-2025-46334)

A vulnerability was found in j6t git-gui up to 2.50.0 (Versioning Software). It has been rated as critical.Using CWE to declare the problem leads to CWE-88. The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.Impacted is confidentiality, integrity, and availability.The vulnerability scanner Nessus provides a plugin with the ID 241644 (FreeBSD : git -- multiple vulnerabilities (2a4472ed-5c0d-11f0-b991-291fce777db8)), which helps to determine the existence of the flaw in a target environment.Upgrading to version 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1 or 2.50.1 eliminates this vulnerability.The vulnerability is also documented in the vulnerability database at Tenable (241644).(CVE-2025-46835)

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. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. 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.(CVE-2025-48384)

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. When cloning a repository Git knows to optionally fetch a bundle advertised by the remote server, which allows the server-side to offload parts of the clone to a CDN. The Git client does not perform sufficient validation of the advertised bundles, which allows the remote side to perform protocol injection. This protocol injection can cause the client to write the fetched bundle to a location controlled by the adversary. The fetched content is fully controlled by the server, which can in the worst case lead to arbitrary code execution. The use of bundle URIs is not enabled by default and can be controlled by the bundle.heuristic config option. Some cases of the vulnerability require that the adversary is in control of where a repository will be cloned to. This either requires social engineering or a recursive clone with submodules. These cases can thus be avoided by disabling…

Record
OESA-2025-1845
CVSS 3.1
8.6 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-1846 8.6

git security update

Security Fix(es):

A vulnerability was found in Microsoft Visual Studio (Programming Tool Software) (affected version not known). It has been classified as problematic.This is going to have an impact on confidentiality, integrity, and availability.Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability.(CVE-2025-27613)

A vulnerability was found in Microsoft Visual Studio (Programming Tool Software) (the affected version unknown). It has been declared as problematic.As an impact it is known to affect confidentiality, integrity, and availability.Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability.(CVE-2025-27614)

A vulnerability, which was classified as problematic, has been found in Microsoft Visual Studio (Programming Tool Software) (version unknown).Impacted is confidentiality, integrity, and availability.Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability.(CVE-2025-46334)

A vulnerability was found in j6t git-gui up to 2.50.0 (Versioning Software). It has been rated as critical.Using CWE to declare the problem leads to CWE-88. The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.Impacted is confidentiality, integrity, and availability.The vulnerability scanner Nessus provides a plugin with the ID 241644 (FreeBSD : git -- multiple vulnerabilities (2a4472ed-5c0d-11f0-b991-291fce777db8)), which helps to determine the existence of the flaw in a target environment.Upgrading to version 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1 or 2.50.1 eliminates this vulnerability.The vulnerability is also documented in the vulnerability database at Tenable (241644).(CVE-2025-46835)

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. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. 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.(CVE-2025-48384)

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. When cloning a repository Git knows to optionally fetch a bundle advertised by the remote server, which allows the server-side to offload parts of the clone to a CDN. The Git client does not perform sufficient validation of the advertised bundles, which allows the remote side to perform protocol injection. This protocol injection can cause the client to write the fetched bundle to a location controlled by the adversary. The fetched content is fully controlled by the server, which can in the worst case lead to arbitrary code execution. The use of bundle URIs is not enabled by default and can be controlled by the bundle.heuristic config option. Some cases of the vulnerability require that the adversary is in control of where a repository will be cloned to. This either requires social engineering or a recursive clone with submodules. These cases can thus be avoided by disabling…

Record
OESA-2025-1846
CVSS 3.1
8.6 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-1847 8.6

git security update

Security Fix(es):

A vulnerability was found in Microsoft Visual Studio (Programming Tool Software) (affected version not known). It has been classified as problematic.This is going to have an impact on confidentiality, integrity, and availability.Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability.(CVE-2025-27613)

A vulnerability was found in Microsoft Visual Studio (Programming Tool Software) (the affected version unknown). It has been declared as problematic.As an impact it is known to affect confidentiality, integrity, and availability.Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability.(CVE-2025-27614)

A vulnerability, which was classified as problematic, has been found in Microsoft Visual Studio (Programming Tool Software) (version unknown).Impacted is confidentiality, integrity, and availability.Applying a patch is able to eliminate this problem. A possible mitigation has been published immediately after the disclosure of the vulnerability.(CVE-2025-46334)

A vulnerability was found in j6t git-gui up to 2.50.0 (Versioning Software). It has been rated as critical.Using CWE to declare the problem leads to CWE-88. The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.Impacted is confidentiality, integrity, and availability.The vulnerability scanner Nessus provides a plugin with the ID 241644 (FreeBSD : git -- multiple vulnerabilities (2a4472ed-5c0d-11f0-b991-291fce777db8)), which helps to determine the existence of the flaw in a target environment.Upgrading to version 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1 or 2.50.1 eliminates this vulnerability.The vulnerability is also documented in the vulnerability database at Tenable (241644).(CVE-2025-46835)

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. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. 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.(CVE-2025-48384)

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. When cloning a repository Git knows to optionally fetch a bundle advertised by the remote server, which allows the server-side to offload parts of the clone to a CDN. The Git client does not perform sufficient validation of the advertised bundles, which allows the remote side to perform protocol injection. This protocol injection can cause the client to write the fetched bundle to a location controlled by the adversary. The fetched content is fully controlled by the server, which can in the worst case lead to arbitrary code execution. The use of bundle URIs is not enabled by default and can be controlled by the bundle.heuristic config option. Some cases of the vulnerability require that the adversary is in control of where a repository will be cloned to. This either requires social engineering or a recursive clone with submodules. These cases can thus be avoided by disabling…

Record
OESA-2025-1847
CVSS 3.1
8.6 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2025-48386 6.3

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.

Record
UBUNTU-CVE-2025-48386
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Updated
2026-11-02
OSVBIT-git-2025-48386 No score

Git allows a buffer overflow in 'wincred' credential helper

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.

Record
BIT-git-2025-48386
Updated
2026-11-02
OSVCLSA-2025-1754939966 No score

Fix CVE(s): CVE-2025-48386

  • SECURITY UPDATE: security vulnerability in package
    • debian/patches/CVE-2025-48386.patch: fix buffer overflow in wcsncat() caused by off-by-one error and length not accounted for in wcsncat() calls
    • CVE-2025-48386
Record
CLSA-2025-1754939966
Updated
2026-11-02
OSVCLSA-2025-1755113387 No score

Fix CVE(s): CVE-2025-48386

  • SECURITY UPDATE: security vulnerability patched
    • debian/patches/CVE-2025-48386.patch: fix buffer overflow in wcsncat() to avoid segmentation fault caused by off-by-one error in the wincred credential helper
    • CVE-2025-48386
Record
CLSA-2025-1755113387
Updated
2026-11-02
OSVopenSUSE-SU-2025:15337-1 No score

git-2.50.1-1.1 on GA media

These are all security issues fixed in the git-2.50.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15337-1
Updated
2026-11-02
OSVSUSE-SU-2025:20721-1 No score

Security update for git

This update for git fixes the following issues:

  • Update to 2.51.0

    • UI, Workflows & Features
      • Userdiff patterns for the R language have been added.
      • Documentation for "git send-email" has been updated with a bit more credential helper and OAuth information.
      • "git cat-file --batch" learns to understand %(objectmode) atom to allow the caller to tell missing objects (due to repository corruption) and submodules (whose commit objects are OK to be missing) apart.
      • "git diff --no-index dirA dirB" can limit the comparison with pathspec at the end of the command line, just like normal "git diff".
      • "git subtree" (in contrib/) learned to grok GPG signing its commits.
      • "git whatchanged" that is longer to type than "git log --raw" which is its modern rough equivalent has outlived its usefulness more than 10 years ago. Plan to deprecate and remove it.
      • An interchange format for stash entries is defined, and subcommand of "git stash" to import/export has been added.
      • "git merge/pull" has been taught the "--compact-summary" option to use the compact-summary format, intead of diffstat, when showing the summary of the incoming changes.
      • "git imap-send" has been broken for a long time, which has been resurrected and then taught to talk OAuth2.0 etc.
      • Some error messages from "git imap-send" has been updated.
      • When "git daemon" sees a signal while attempting to accept() a new client, instead of retrying, it skipped it by mistake, which has been corrected.
      • The reftable ref backend has matured enough; Git 3.0 will make it the default format in a newly created repositories by default.
      • "netrc" credential helper has been improved to understand textual service names (like smtp) in addition to the numeric port numbers (like 25).
      • Lift the limitation to use changed-path filter in "git log" so that it can be used for a pathspec with multiple literal paths.
      • Clean up the way how signature on commit objects are exported to and imported from fast-import stream.
      • Remove unsupported, unused, and unsupportable old option from "git log".
      • Document recently added "git imap-send --list" with an example.
      • "git pull" learned to pay attention to pull.autostash configuration variable, which overrides rebase/merge.autostash.
      • "git for-each-ref" learns "--start-after" option to help applications that want to page its output.
      • "git switch" and "git restore" are declared to be no longer experimental.
      • "git -c alias.foo=bar foo -h baz" reported "'foo' is aliased to 'bar'" and then went on to run "git foo -h baz", which was unexpected. Tighten the rule so that alias expansion is reported only when "-h" is the sole option.
    • Performance, Internal Implementation, Development Support etc.
      • "git pack-objects" learned to find delta bases from blobs at the same path, using the --path-walk API.
      • CodingGuidelines update.
      • Add settings for Solaris 10 & 11.
      • Meson-based build/test framework now understands TAP output generated by our tests.
      • "Do not explicitly initialize to zero" rule has been clarified in the CodingGuidelines document.
      • A test helper "test_seq" function learned the "-f <fmt>" option, which allowed us to simplify a lot of test scripts.
      • A lot of stale stuff has been removed from the contrib/ hierarchy.
      • "git push" and "git fetch" are taught to update refs in batches to gain performance.
      • Some code paths in "git prune" used to ignore the passed-in repository object and used the the_repository singleton instance instead, which has been corrected.
      • Update ".clang-format" and ".editorconfig" to match our style guide a bit better.
      • "make coccicheck"…
Record
SUSE-SU-2025:20721-1
Updated
2026-11-02
OSVSUSE-SU-2025:20855-1 No score

Security update for git

This update for git fixes the following issues:

Update to 2.51.0:

  • CVE-2025-27613: arbitrary writable file creation and truncation in Gitk (bsc#1245938)
  • CVE-2025-27614: arbitrary script execution via repo clonation in gitk (bsc#1245939)
  • CVE-2025-46835: untrusted repository cloning can lead to arbitrary writable file creation in Git GUI (bsc#1245942)
  • CVE-2025-48384: script may be unintentionally executed after checkout due to CRLF transforming (bsc#1245943)
  • CVE-2025-48385: arbitrary code execution due to protocol injection via fetching advertised bundle (bsc#1245946)
  • CVE-2025-48386: buffer overflow in static buffer 'target' in wincred credential helper (bsc#1245947)
Record
SUSE-SU-2025:20855-1
Updated
2026-11-02
OSVUSN-7626-1 No score

git vulnerabilities

Avi Halachmi discovered that Git incorrectly managed file modification constraints with Gitk. An attacker could possibly use this issue to create or write to arbitrary files on the system. (CVE-2025-27613)

Avi Halachmi discovered that Git incorrectly handled arguments when invoking the Gitk utility. If a user were tricked into cloning a malicious Git repository, an attacker could possibly use this issue to run arbitrary commands. This issue only affected Ubuntu 24.04 LTS, Ubuntu 24.10, and Ubuntu 25.04. (CVE-2025-27614)

Johannes Sixt discovered that Git incorrectly managed file modification constraints with Git GUI. If a user were tricked into editing a file in a malicious Git repository, an attacker could possibly use this issue to create or write to arbitrary files on the system. (CVE-2025-46835)

David Leadbeater discovered that Git incorrectly stripped CRLF characters when editing configuration files. An attacker could possibly use this issue to execute arbitrary code. (CVE-2025-48384)

David Leadbeater discovered that Git incorrectly handled verification when fetching remote Git repositories. An attacker could possibly use this issue to perform protocol injection, leading to arbitrary code execution. This issue only affected Ubuntu 24.04 LTS, Ubuntu 24.10, and Ubuntu 25.04. (CVE-2025-48385)

David Leadbeater discovered that Git incorrectly handled memory with the wincred credential helper. An attacker could possibly use this issue to cause a denial of service. (CVE-2025-48386)

Record
USN-7626-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
git
Alpine:v3.19
before 2.43.7-r0
2.43.7-r0
git
Alpine:v3.20
before 2.45.4-r0
2.45.4-r0
git
Alpine:v3.21
before 2.47.3-r0
2.47.3-r0
git
Alpine:v3.22
before 2.49.1-r0
2.49.1-r0
git
Alpine:v3.23
before 2.50.1-r0
2.50.1-r0
git
Alpine:v3.24
before 2.50.1-r0
2.50.1-r0
git
Alpaquita:23
2.38.1-r0 up to 2.43.7-r0
2.43.7-r0
git
Alpaquita:25
2.49.0-r0 up to 2.49.1-r0
2.49.1-r0
git
Alpaquita:stream
2.41.0-r0 up to 2.50.1-r0
2.50.1-r0
git
Bitnami
before 2.50.1
2.50.1
Show 49 moreShow less
Affected packages
PackageAffectedFixed
git
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git-all
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git-arch
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git-core
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git-cvs
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git-daemon-run
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git-daemon-sysvinit
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git-doc
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git-el
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git-email
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git-gui
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git-man
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git-mediawiki
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git-svn
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
gitk
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
gitweb
TuxCare:Ubuntu:16.04
before 1:2.7.4-0ubuntu1.10+tuxcare.els10
1:2.7.4-0ubuntu1.10+tuxcare.els10
git
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
git-all
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
git-cvs
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
git-daemon-run
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
git-daemon-sysvinit
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
git-doc
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
git-el
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
git-email
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
git-gui
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
git-man
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
git-mediawiki
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
git-svn
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
gitk
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
gitweb
TuxCare:Ubuntu:18.04
before 1:2.17.1-1ubuntu0.18+tuxcare.els8
1:2.17.1-1ubuntu0.18+tuxcare.els8
git
openEuler:20.03-LTS-SP4
From an advisory covering 2 CVEs
before 2.27.0-24.oe2003sp4
2.27.0-24.oe2003sp4
git
openEuler:22.03-LTS-SP3
From an advisory covering 2 CVEs
before 2.33.0-18.oe2203sp3
2.33.0-18.oe2203sp3
git
openEuler:22.03-LTS-SP4
From an advisory covering 5 CVEs
before 2.33.0-19.oe2203sp4
2.33.0-19.oe2203sp4
git
openEuler:24.03-LTS
From an advisory covering 7 CVEs
before 2.43.0-9.oe2403
2.43.0-9.oe2403
git
openEuler:24.03-LTS-SP1
From an advisory covering 7 CVEs
before 2.43.0-9.oe2403sp1
2.43.0-9.oe2403sp1
git
openEuler:24.03-LTS-SP2
From an advisory covering 7 CVEs
before 2.43.0-9.oe2403sp2
2.43.0-9.oe2403sp2
git
SUSE:Linux Micro 6.0
From an advisory covering 10 CVEs
before 2.51.0-1.1
2.51.0-1.1
git
SUSE:Linux Micro 6.1
From an advisory covering 6 CVEs
before 2.51.0-slfo.1.1_1.1
2.51.0-slfo.1.1_1.1
git
Ubuntu:Pro:16.04:LTS
before 1:2.7.4-0ubuntu1.10+esm9, plus listed versions
1:2.5.0-11:2.6.2-11:2.6.3-11:2.6.4-11:2.7.0~rc3-1
Show 20 moreShow less
1:2.7.0-11:2.7.3-0ubuntu11:2.7.4-0ubuntu11:2.7.4-0ubuntu1.11:2.7.4-0ubuntu1.21:2.7.4-0ubuntu1.31:2.7.4-0ubuntu1.41:2.7.4-0ubuntu1.51:2.7.4-0ubuntu1.61:2.7.4-0ubuntu1.71:2.7.4-0ubuntu1.81:2.7.4-0ubuntu1.91:2.7.4-0ubuntu1.101:2.7.4-0ubuntu1.10+esm11:2.7.4-0ubuntu1.10+esm31:2.7.4-0ubuntu1.10+esm41:2.7.4-0ubuntu1.10+esm51:2.7.4-0ubuntu1.10+esm61:2.7.4-0ubuntu1.10+esm71:2.7.4-0ubuntu1.10+esm8
1:2.7.4-0ubuntu1.10+esm9
git
Ubuntu:Pro:18.04:LTS
before 1:2.17.1-1ubuntu0.18+esm2, plus listed versions
1:2.14.1-1ubuntu41:2.15.1-1ubuntu21:2.17.0-1ubuntu11:2.17.1-1ubuntu0.11:2.17.1-1ubuntu0.3
Show 16 moreShow less
1:2.17.1-1ubuntu0.41:2.17.1-1ubuntu0.51:2.17.1-1ubuntu0.61:2.17.1-1ubuntu0.71:2.17.1-1ubuntu0.81:2.17.1-1ubuntu0.91:2.17.1-1ubuntu0.101:2.17.1-1ubuntu0.111:2.17.1-1ubuntu0.121:2.17.1-1ubuntu0.131:2.17.1-1ubuntu0.141:2.17.1-1ubuntu0.151:2.17.1-1ubuntu0.161:2.17.1-1ubuntu0.171:2.17.1-1ubuntu0.181:2.17.1-1ubuntu0.18+esm1
1:2.17.1-1ubuntu0.18+esm2
git
Ubuntu:Pro:20.04:LTS
before 1:2.25.1-1ubuntu3.14+esm1, plus listed versions
1:2.20.1-2ubuntu11:2.24.0-1ubuntu11:2.24.0-1ubuntu21:2.25.0-1ubuntu11:2.25.1-1ubuntu1
Show 15 moreShow less
1:2.25.1-1ubuntu21:2.25.1-1ubuntu31:2.25.1-1ubuntu3.11:2.25.1-1ubuntu3.21:2.25.1-1ubuntu3.31:2.25.1-1ubuntu3.41:2.25.1-1ubuntu3.51:2.25.1-1ubuntu3.61:2.25.1-1ubuntu3.71:2.25.1-1ubuntu3.81:2.25.1-1ubuntu3.101:2.25.1-1ubuntu3.111:2.25.1-1ubuntu3.121:2.25.1-1ubuntu3.131:2.25.1-1ubuntu3.14
1:2.25.1-1ubuntu3.14+esm1
git
Ubuntu:22.04:LTS
before 1:2.34.1-1ubuntu1.13, plus listed versions
1:2.32.0-1ubuntu11:2.33.1-1ubuntu11:2.34.1-1ubuntu11:2.34.1-1ubuntu1.11:2.34.1-1ubuntu1.2
Show 8 moreShow less
1:2.34.1-1ubuntu1.41:2.34.1-1ubuntu1.51:2.34.1-1ubuntu1.61:2.34.1-1ubuntu1.81:2.34.1-1ubuntu1.91:2.34.1-1ubuntu1.101:2.34.1-1ubuntu1.111:2.34.1-1ubuntu1.12
1:2.34.1-1ubuntu1.13
git
Ubuntu:24.04:LTS
before 1:2.43.0-1ubuntu7.3, plus listed versions
1:2.40.1-1ubuntu11:2.43.0-1ubuntu11:2.43.0-1ubuntu51:2.43.0-1ubuntu61:2.43.0-1ubuntu71:2.43.0-1ubuntu7.11:2.43.0-1ubuntu7.2
1:2.43.0-1ubuntu7.3
git
Ubuntu:Pro:16.04:LTS
From an advisory covering 6 CVEs
before 1:2.7.4-0ubuntu1.10+esm9, plus listed versions
1:2.5.0-11:2.6.2-11:2.6.3-11:2.6.4-11:2.7.0~rc3-1
Show 20 moreShow less
1:2.7.0-11:2.7.3-0ubuntu11:2.7.4-0ubuntu11:2.7.4-0ubuntu1.11:2.7.4-0ubuntu1.21:2.7.4-0ubuntu1.31:2.7.4-0ubuntu1.41:2.7.4-0ubuntu1.51:2.7.4-0ubuntu1.61:2.7.4-0ubuntu1.71:2.7.4-0ubuntu1.81:2.7.4-0ubuntu1.91:2.7.4-0ubuntu1.101:2.7.4-0ubuntu1.10+esm11:2.7.4-0ubuntu1.10+esm31:2.7.4-0ubuntu1.10+esm41:2.7.4-0ubuntu1.10+esm51:2.7.4-0ubuntu1.10+esm61:2.7.4-0ubuntu1.10+esm71:2.7.4-0ubuntu1.10+esm8
1:2.7.4-0ubuntu1.10+esm9
git
Ubuntu:Pro:18.04:LTS
From an advisory covering 6 CVEs
before 1:2.17.1-1ubuntu0.18+esm2, plus listed versions
1:2.14.1-1ubuntu41:2.15.1-1ubuntu21:2.17.0-1ubuntu11:2.17.1-1ubuntu0.11:2.17.1-1ubuntu0.3
Show 16 moreShow less
1:2.17.1-1ubuntu0.41:2.17.1-1ubuntu0.51:2.17.1-1ubuntu0.61:2.17.1-1ubuntu0.71:2.17.1-1ubuntu0.81:2.17.1-1ubuntu0.91:2.17.1-1ubuntu0.101:2.17.1-1ubuntu0.111:2.17.1-1ubuntu0.121:2.17.1-1ubuntu0.131:2.17.1-1ubuntu0.141:2.17.1-1ubuntu0.151:2.17.1-1ubuntu0.161:2.17.1-1ubuntu0.171:2.17.1-1ubuntu0.181:2.17.1-1ubuntu0.18+esm1
1:2.17.1-1ubuntu0.18+esm2
git
Ubuntu:Pro:20.04:LTS
From an advisory covering 6 CVEs
before 1:2.25.1-1ubuntu3.14+esm1, plus listed versions
1:2.20.1-2ubuntu11:2.24.0-1ubuntu11:2.24.0-1ubuntu21:2.25.0-1ubuntu11:2.25.1-1ubuntu1
Show 15 moreShow less
1:2.25.1-1ubuntu21:2.25.1-1ubuntu31:2.25.1-1ubuntu3.11:2.25.1-1ubuntu3.21:2.25.1-1ubuntu3.31:2.25.1-1ubuntu3.41:2.25.1-1ubuntu3.51:2.25.1-1ubuntu3.61:2.25.1-1ubuntu3.71:2.25.1-1ubuntu3.81:2.25.1-1ubuntu3.101:2.25.1-1ubuntu3.111:2.25.1-1ubuntu3.121:2.25.1-1ubuntu3.131:2.25.1-1ubuntu3.14
1:2.25.1-1ubuntu3.14+esm1
git
Ubuntu:22.04:LTS
From an advisory covering 6 CVEs
before 1:2.34.1-1ubuntu1.13, plus listed versions
1:2.32.0-1ubuntu11:2.33.1-1ubuntu11:2.34.1-1ubuntu11:2.34.1-1ubuntu1.11:2.34.1-1ubuntu1.2
Show 8 moreShow less
1:2.34.1-1ubuntu1.41:2.34.1-1ubuntu1.51:2.34.1-1ubuntu1.61:2.34.1-1ubuntu1.81:2.34.1-1ubuntu1.91:2.34.1-1ubuntu1.101:2.34.1-1ubuntu1.111:2.34.1-1ubuntu1.12
1:2.34.1-1ubuntu1.13
git
Ubuntu:24.04:LTS
From an advisory covering 6 CVEs
before 1:2.43.0-1ubuntu7.3, plus listed versions
1:2.40.1-1ubuntu11:2.43.0-1ubuntu11:2.43.0-1ubuntu51:2.43.0-1ubuntu61:2.43.0-1ubuntu71:2.43.0-1ubuntu7.11:2.43.0-1ubuntu7.2
1:2.43.0-1ubuntu7.3
git
openSUSE:Tumbleweed
From an advisory covering 7 CVEs
before 2.50.1-1.1
2.50.1-1.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-48386 is a medium vulnerability (CVSS 6.3) in Git, published July 8, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 37th percentile. Fixed in git 2.43.7-r0.

References

Show 45 moreShow less
This page doesn't list everything

Left out here: the rest of 4 source descriptions. The JSON record has them.

MoveEnter Open