Description
Integer overflow in Git before 2.7.4 allows remote attackers to execute arbitrary code via a (1) long filename or (2) many nested trees, which triggers a heap-based buffer overflow.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | git | 1:2.8.0~rc3-1 | — |
| Debian 13 | git | 1:2.8.0~rc3-1 | — |
| Debian 12 | git | 1:2.8.0~rc3-1 | — |
| Debian 8 | git | 1:2.1.4-2.1+deb8u2 | DSA-3521-1 |
| Debian 7 | git | 1:1.7.10.4-1+wheezy3 | DSA-3521-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | git | 1:1.9.1-1ubuntu0.3 | USN-2938-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | git +15 | 1.8.3.1-6.el7_2.1 | RHSA-2016:0496 |
| RHEL 6 | git +11 | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| RHEL 2 | git19-git +12 | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| RHEL 2 | git19-git-hg +1 | 1.9.4-4.el7.1 | RHSA-2016:0497 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | git | 1.8.5.6-18.1 | SUSE-SU-2016:0796-1 |
| SLES 12 | git | 1.8.5.6-18.1 | SUSE-SU-2016:0796-1 |
| SLES 11 SP4 | git | 1.7.12.4-0.14.1 | SUSE-SU-2016:0798-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | git | 1.8.5.6-18.1 | SUSE-SU-2016:0796-1 |
| SLES for SAP 12 | git | 1.8.5.6-18.1 | SUSE-SU-2016:0796-1 |
| SUSE OpenStack Cloud 5 | git | 1.7.12.4-0.14.1 | SUSE-SU-2016:0798-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cgit | 1.0-1.3 | openSUSE-SU-2024:10137-1 |
| openSUSE Tumbleweed | git | 2.11.0-1.1 | openSUSE-SU-2024:10099-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | git +15 | 1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
Advisories 9
- RHSA-2016:0497 Red Hat Security Advisory: git19-git security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2016:0496 Red Hat Security Advisory: git security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DSA-3521-1 git - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2938-1 git vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2016:0798-1 Security update for git SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0796-1 Security update for git SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10099-1 git-2.11.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10137-1 cgit-1.0-1.3 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- ELSA-2016-0496 Important: git security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 23, 2016
References
- openSUSE-SU-2016:0829 vendor-advisory
- FEDORA-2016-8f164810c3 vendor-advisory
- DSA-3521 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- GLSA-201605-01 vendor-advisory
- 1035290 vdb-entry
- 84355 vdb-entry
- openSUSE-SU-2016:0803 vendor-advisory
- http://pastebin.com/UX2P2jjg
- FEDORA-2016-cee7647200 vendor-advisory
- [oss-security] 20160315 server and client side remote code execution through a bu ffer overflow in all git versions before 2.7.1 (unpublished ᴄᴠᴇ-2016-2324 and ᴄᴠᴇ-2016-2315) mailing-list
- openSUSE-SU-2016:0958 vendor-advisory
- RHSA-2016:0496 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- https://github.com/git/git/commit/de1e67d0703894cb6ea782e36abb63976ab07e60
- https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.7.4.txt
- openSUSE-SU-2016:0802 vendor-advisory
- USN-2938-1 vendor-advisory
- openSUSE-SU-2016:0826 vendor-advisory
- openSUSE-SU-2016:0832 vendor-advisory
- FEDORA-2016-6554eff611 vendor-advisory
- openSUSE-SU-2016:0831 vendor-advisory
- SUSE-SU-2016:0796 vendor-advisory
- SUSE-SU-2016:0798 vendor-advisory