Protection Mechanism Failure in Git - CVE-2025-27613

 

Protection Mechanism Failure in Git - CVE-2025-27613

Published: July 9, 2025


Vulnerability identifier: #VU112642
CSH Severity: High
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-27613
CWE-ID: CWE-693
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists in Gitk when cloning an untrusted repository and executing Gitk without additional command arguments. A remote attacker can abuse such behavior and overwrite or truncate any files on the system. 

Successful exploitation of the vulnerability requires that the "Support per-file encoding" option is enabled. 


Affected software

Git
Red Hat OpenShift Container Platform
SUSE Manager Server 4.3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Manager Proxy 4.3
SUSE Linux Enterprise Server 12 SP5
SUSE Manager Retail Branch Server 4.3
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Server
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Basesystem Module
Python 3 Module
Development Tools Module
openSUSE Leap
Ubuntu
openEuler
IBM Qradar SIEM
Visual Studio
obs-scm-bridge
git (Ubuntu package)
git-cvs
git-debugsource
git-daemon
git-web
git-svn
git-email
git-core
git
git-core-debuginfo
gitk
git-gui
git-daemon-debuginfo
git-help
git-debuginfo
perl-Git
perl-Git-SVN
git (Red Hat package)
gitweb
git-instaweb
git-credential-libsecret
git-subtree
git-all
git-core-doc
git-arch
git-credential-libsecret-debuginfo
git-p4
git-doc
git-lfs
python311-PyYAML
python-PyYAML-debugsource
python311-PyYAML-debuginfo
Ansible Automation Platform
Red Hat Advanced Cluster Management for Kubernetes

How to mitigate CVE-2025-27613

Install updates from vendor's website.

Git - addressed in versions 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1
IBM Qradar SIEM - update to 7.5.0 Update Pack 13 IF01
Visual Studio - addressed in versions 15.9.75 15.9.75, 16.11.49 16.11.49, 17.8.23 17.8.23, 17.10.17 17.10.17, 17.12.10 17.12.10
obs-scm-bridge - update to 0.7.4-150600.14.4.1
Ansible Automation Platform - update to 2.5
git (Ubuntu package) - addressed in versions 1:2.7.4-0ubuntu1.10+esm9, 1:2.7.4-0ubuntu1.10+esm10, 1:2.7.4-0ubuntu1.10+esm11, 1:2.17.1-1ubuntu0.18+esm2, 1:2.17.1-1ubuntu0.18+esm3, 1:2.17.1-1ubuntu0.18+esm4, 1:2.25.1-1ubuntu3.14+esm1, 1:2.25.1-1ubuntu3.14+esm2, 1:2.25.1-1ubuntu3.14+esm3, 1:2.34.1-1ubuntu1.13, 1:2.34.1-1ubuntu1.14, 1:2.34.1-1ubuntu1.15, 1:2.43.0-1ubuntu7.3, 1:2.45.2-1ubuntu1.2, 1:2.48.1-0ubuntu1.1
Red Hat Advanced Cluster Management for Kubernetes - update to 2.13.4
git-cvs - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-debugsource - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-daemon - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-web - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-svn - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-email - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-core - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-core-debuginfo - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
gitk - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-gui - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-daemon-debuginfo - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-help - addressed in versions 2.27.0-25, 2.33.0-19, 2.43.0-9
git-gui - addressed in versions 2.27.0-25, 2.33.0-19, 2.43.0-9
git-email - addressed in versions 2.27.0-25, 2.33.0-19, 2.43.0-9
git-debugsource - addressed in versions 2.27.0-25, 2.33.0-19, 2.43.0-9
git-debuginfo - addressed in versions 2.27.0-25, 2.33.0-19, 2.43.0-9
git-daemon - addressed in versions 2.27.0-25, 2.33.0-19, 2.43.0-9
git - addressed in versions 2.27.0-25, 2.33.0-19, 2.43.0-9
git-svn - addressed in versions 2.27.0-25, 2.33.0-19, 2.43.0-9
git-web - addressed in versions 2.27.0-25, 2.33.0-19, 2.43.0-9
gitk - addressed in versions 2.27.0-25, 2.33.0-19, 2.43.0-9
perl-Git - addressed in versions 2.27.0-25, 2.33.0-19, 2.43.0-9
perl-Git-SVN - addressed in versions 2.27.0-25, 2.33.0-19, 2.43.0-9
git-core - addressed in versions 2.33.0-19, 2.43.0-9
git (Red Hat package) - addressed in versions 2.43.7-1.el8_10, 2.47.3-1.el9_6, 2.47.3-1.el10_0
perl-Git-SVN - update to 2.43.7-1.0.1
perl-Git - update to 2.43.7-1.0.1
gitweb - update to 2.43.7-1.0.1
gitk - update to 2.43.7-1.0.1
git-instaweb - update to 2.43.7-1.0.1
git - update to 2.43.7-1.0.1
git-core - update to 2.43.7-1.0.1
git-credential-libsecret - update to 2.43.7-1.0.1
git-daemon - update to 2.43.7-1.0.1
git-subtree - update to 2.43.7-1.0.1
git-all - update to 2.43.7-1.0.1
git-core-doc - update to 2.43.7-1.0.1
git-email - update to 2.43.7-1.0.1
git-gui - update to 2.43.7-1.0.1
git-svn - update to 2.43.7-1.0.1
git-debuginfo - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-arch - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-credential-libsecret-debuginfo - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-p4 - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-credential-libsecret - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-doc - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
perl-Git - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-lfs - update to 3.7.0-150600.13.3.1
Red Hat OpenShift Container Platform - addressed in versions 4.14.54, 4.15.56, 4.19.6
python311-PyYAML - update to 6.0.2-150600.10.3.1
python-PyYAML-debugsource - update to 6.0.2-150600.10.3.1
python311-PyYAML-debuginfo - update to 6.0.2-150600.10.3.1

External References

Related Security Bulletins