Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 401
Alerts This Week
Warning Icon 1 401

Ubuntu 25.04: USN-7626-1 critical: Git remote code execution

ubuntu
Calendar Grey July 8, 2025
Dist Ubuntu Esm H88
Multiple significant vulnerabilities in Git impact various Ubuntu releases, necessitating prompt patches to avert potential security breaches.
Several security issues were fixed in Git.

Summary

Several security issues were fixed in Git.

Software Description:

- git: fast, scalable, distributed revision control system

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

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 incorrectl...

Read the Full Advisory

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 25.04
  git                             1:2.48.1-0ubuntu1.1
  git-gui                         1:2.48.1-0ubuntu1.1
  gitk                            1:2.48.1-0ubuntu1.1

Ubuntu 24.10
  git                             1:2.45.2-1ubuntu1.2
  git-gui                         1:2.45.2-1ubuntu1.2
  gitk                            1:2.45.2-1ubuntu1.2

Ubuntu 24.04 LTS
  git                             1:2.43.0-1ubuntu7.3
  git-gui                         1:2.43.0-1ubuntu7.3
  gitk                            1:2.43.0-1ubuntu7.3

Ubuntu 22.04 LTS
  git                             1:2.34.1-1ubuntu1.13
  git-gui                         1:2.34.1-1ubuntu1.13
  gitk                            1:2.34.1-1ubuntu1.13

Ubuntu 20.04 LTS
  git                             1:2.25.1-1ubuntu3.14+esm1
                                  Available with Ubuntu Pro
  git-gui                         1:2.25.1-1ubuntu3.14+esm1
                                  Available with Ubuntu Pro
  gitk                            1:2.25.1-1ubuntu3.14+esm1
                                  Available with Ubuntu Pro

Ubuntu 18.04 LTS
  git                             1:2.17.1-1ubuntu0.18+esm2
                                  Available with Ubuntu Pro
  git-gui                         1:2.17.1-1ubuntu0.18+esm2
                                  Available with Ubuntu Pro
  gitk                            1:2.17.1-1ubuntu0.18+esm2
                                  Available with Ubuntu Pro

Ubuntu 16.04 LTS
  git                             1:2.7.4-0ubuntu1.10+esm9
                                  Available with Ubuntu Pro
  git-gui                         1:2.7.4-0ubuntu1.10+esm9
                                  Available with Ubuntu Pro
  gitk                            1:2.7.4-0ubuntu1.10+esm9
                                  Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References

https://ubuntu.com/security/notices/USN-7626-1

CVE-2025-27613, CVE-2025-27614, CVE-2025-46835, CVE-2025-48384,

CVE-2025-48385, CVE-2025-48386

Severity
critical
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-7626-1

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.