revision.c in git before 2.7.4 uses an incorrect integer data type, which allows remote…
Priority MEDIUM 59CWE-119Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
revision.c in git before 2.7.4 uses an incorrect integer data type, which allows remote attackers to execute arbitrary code via a (1) long filename or (2) many nested trees, leading to a heap-based buffer overflow.
Why it matters now
EPSS 0.17312 97th percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:suse:linux_enterprise_debuginfo:11:sp4:*:*:*:*:*:* | 11 sp4 | Vulnerable | SUSE |
| cpe:2.3:a:suse:openstack_cloud:5:*:*:*:*:*:*:* | 5 | Vulnerable | SUSE |
| cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:* | 42.1 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* | 13.2 | Vulnerable | openSUSE |
| cpe:2.3:o:suse:linux_enterprise_server:12:sp1:*:*:*:*:*:* | 12 sp1 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp4:*:*:*:*:*:* | 11 sp4 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_software_development_kit:12:*:*:*:*:*:*:* | 12 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_software_development_kit:12:sp1:*:*:*:*:*:* | 12 sp1 | Vulnerable | SUSE |
| cpe:2.3:o:suse:suse_linux_enterprise_server:12:*:*:*:*:*:*:* | 12 | Vulnerable | SUSE |
| cpe:2.3:a:git-scm:git:2.7.3:*:*:*:*:*:*:* | 2.7.3 | Vulnerable | Git-scm |
- cpe:2.3:a:suse:linux_enterprise_debuginfo:11:sp4:*:*:*:*:*:* Versions 11 sp4 Vulnerable ·SUSE
- cpe:2.3:a:suse:openstack_cloud:5:*:*:*:*:*:*:* Versions 5 Vulnerable ·SUSE
- cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:* Versions 42.1 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* Versions 13.2 Vulnerable ·openSUSE
- cpe:2.3:o:suse:linux_enterprise_server:12:sp1:*:*:*:*:*:* Versions 12 sp1 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp4:*:*:*:*:*:* Versions 11 sp4 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_software_development_kit:12:*:*:*:*:*:*:* Versions 12 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_software_development_kit:12:sp1:*:*:*:*:*:* Versions 12 sp1 Vulnerable ·SUSE
- cpe:2.3:o:suse:suse_linux_enterprise_server:12:*:*:*:*:*:*:* Versions 12 Vulnerable ·SUSE
- cpe:2.3:a:git-scm:git:2.7.3:*:*:*:*:*:*:* Versions 2.7.3 Vulnerable ·Git-scm
Remediation
Red Hat 2 advisories
- RHSA-2016:0496 Released 2016-03-23 · Red Hat rating Importantgit security update
- Red Hat Enterprise Linux Client Optional (v. 7) emacs-git-1.8.3.1-6.el7_2.1, emacs-git-el-1.8.3.1-6.el7_2.1, git-1.8.3.1-6.el7_2.1 +13
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) emacs-git-1.8.3.1-6.el7_2.1, emacs-git-el-1.8.3.1-6.el7_2.1, git-1.8.3.1-6.el7_2.1 +13
- Red Hat Enterprise Linux Desktop Optional (v. 6) emacs-git-1.7.1-4.el6_7.1, emacs-git-el-1.7.1-4.el6_7.1, git-1.7.1-4.el6_7.1 +9
- Red Hat Enterprise Linux HPC Node Optional (v. 6) emacs-git-1.7.1-4.el6_7.1, emacs-git-el-1.7.1-4.el6_7.1, git-1.7.1-4.el6_7.1 +9
- Red Hat Enterprise Linux Server (v. 6) git-1.7.1-4.el6_7.1, perl-Git-1.7.1-4.el6_7.1
- Red Hat Enterprise Linux Server (v. 7) git-1.8.3.1-6.el7_2.1, perl-Git-1.8.3.1-6.el7_2.1
- Red Hat Enterprise Linux Server Optional (v. 6) emacs-git-1.7.1-4.el6_7.1, emacs-git-el-1.7.1-4.el6_7.1, git-all-1.7.1-4.el6_7.1 +7
- Red Hat Enterprise Linux Server Optional (v. 7) emacs-git-1.8.3.1-6.el7_2.1, emacs-git-el-1.8.3.1-6.el7_2.1, git-all-1.8.3.1-6.el7_2.1 +11
- Red Hat Enterprise Linux Workstation (v. 6) git-1.7.1-4.el6_7.1, perl-Git-1.7.1-4.el6_7.1
- Red Hat Enterprise Linux Workstation (v. 7) git-1.8.3.1-6.el7_2.1, perl-Git-1.8.3.1-6.el7_2.1
- Red Hat Enterprise Linux Workstation Optional (v. 6) emacs-git-1.7.1-4.el6_7.1, emacs-git-el-1.7.1-4.el6_7.1, git-all-1.7.1-4.el6_7.1 +7
- Red Hat Enterprise Linux Workstation Optional (v. 7) emacs-git-1.8.3.1-6.el7_2.1, emacs-git-el-1.8.3.1-6.el7_2.1, git-all-1.8.3.1-6.el7_2.1 +11
- RHSA-2016:0497 Released 2016-03-23 · Red Hat rating Importantgit19-git security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) git19-emacs-git-1.9.4-4.el6.1, git19-emacs-git-el-1.9.4-4.el6.1, git19-git-1.9.4-4.el6.1 +10
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) git19-emacs-git-1.9.4-4.el7.1, git19-emacs-git-el-1.9.4-4.el7.1, git19-git-1.9.4-4.el7.1 +12
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) git19-emacs-git-1.9.4-4.el6.1, git19-emacs-git-el-1.9.4-4.el6.1, git19-git-1.9.4-4.el6.1 +10
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) git19-emacs-git-1.9.4-4.el6.1, git19-emacs-git-el-1.9.4-4.el6.1, git19-git-1.9.4-4.el6.1 +10
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) git19-emacs-git-1.9.4-4.el7.1, git19-emacs-git-el-1.9.4-4.el7.1, git19-git-1.9.4-4.el7.1 +12
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) git19-emacs-git-1.9.4-4.el7.1, git19-emacs-git-el-1.9.4-4.el7.1, git19-git-1.9.4-4.el7.1 +12
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) git19-emacs-git-1.9.4-4.el6.1, git19-emacs-git-el-1.9.4-4.el6.1, git19-git-1.9.4-4.el6.1 +10
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) git19-emacs-git-1.9.4-4.el7.1, git19-emacs-git-el-1.9.4-4.el7.1, git19-git-1.9.4-4.el7.1 +12
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2016:0496 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2016:0496 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2016:0496 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2016:0496 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2016:0496 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2016:0496 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2016:0496 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2016:0496 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2016:0496 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2016:0496 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2016:0496 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2016:0496 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2016:0497 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2016:0497 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) | Fixed | RHSA-2016:0497 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) | Fixed | RHSA-2016:0497 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) | Fixed | RHSA-2016:0497 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) | Fixed | RHSA-2016:0497 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2016:0497 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2016:0497 |
Timeline
- 2026-10-02 Threatist record created from CVE-2016-2315
- 2026-10-03 Alias added: GHSA-w2rr-v7j3-2w2r
References
Patch 2
Advisory 20
- openSUSE-SU-2016:0829
- FEDORA-2016-8f164810c3
- DSA-3521
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- GLSA-201605-01
- openSUSE-SU-2016:0803
- http://pastebin.com/UX2P2jjg
- FEDORA-2016-cee7647200
- openSUSE-SU-2016:0958
- RHSA-2016:0496
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.7.4.txt
- openSUSE-SU-2016:0802
- USN-2938-1
- openSUSE-SU-2016:0826
- openSUSE-SU-2016:0832
- FEDORA-2016-6554eff611
- openSUSE-SU-2016:0831
- SUSE-SU-2016:0796
- SUSE-SU-2016:0798
Sources
- CVE-2016-2315 · CVE Program
- CVE-2016-2315 · NVD
- FIRST EPSS
- GHSA-w2rr-v7j3-2w2r · GitHub Advisory Database · CC BY 4.0
- CVE-2016-2315 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences