USN-7626-1 introduced a regression in Git
Software Description:
- git: fast, scalable, distributed revision control system
Details:
USN-7626-1 fixed vulnerabilities in Git. The updates for CVE-2025-27613
and CVE-2025-46835 caused Gitk and Git GUI to not work properly on Ubuntu
16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS, and
were disabled in USN-7626-2. The problematic updates for the
aforementioned CVEs have now been corrected and reinstated in this update.
We apologize for the inconvenience.
Original advisory details:
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
command...
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 22.04 LTS
git-gui 1:2.34.1-1ubuntu1.15
gitk 1:2.34.1-1ubuntu1.15
Ubuntu 20.04 LTS
git-gui 1:2.25.1-1ubuntu3.14+esm3
Available with Ubuntu Pro
gitk 1:2.25.1-1ubuntu3.14+esm3
Available with Ubuntu Pro
Ubuntu 18.04 LTS
git-gui 1:2.17.1-1ubuntu0.18+esm4
Available with Ubuntu Pro
gitk 1:2.17.1-1ubuntu0.18+esm4
Available with Ubuntu Pro
Ubuntu 16.04 LTS
git-gui 1:2.7.4-0ubuntu1.10+esm11
Available with Ubuntu Pro
gitk 1:2.7.4-0ubuntu1.10+esm11
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.https://ubuntu.com/security/notices/USN-7626-3
https://ubuntu.com/security/notices/USN-7626-2
https://ubuntu.com/security/notices/USN-7626-3
https://bugs.launchpad.net/ubuntu/+source/git/+bug/2116251
Get the latest Linux and open source security news straight to your inbox.