CVE-2016-2315
publishedgit: path_name() integer truncation and overflow leading to buffer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | git | Advisory build | 1:2.1.4-2.1+deb8u2 | DSA-3521-1 |
| Oracle Linux | 6 | emacs-giti686 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Red Hat Enterprise Linux | RHEL-6 | emacs-gitnoarch | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Debian | wheezy | git | Advisory build | 1:1.7.10.4-1+wheezy3 | DSA-3521-1 |
| Oracle Linux | 6 | emacs-gitsparc64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | emacs-gitx86_64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | emacs-git-eli686 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | emacs-git-elsparc64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | emacs-git-elx86_64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | giti686 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | gitsparc64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | gitx86_64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-alli686 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-allsparc64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-allx86_64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-cvsi686 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-cvssparc64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-cvsx86_64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-daemoni686 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-daemonsparc64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-daemonx86_64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-emaili686 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-emailsparc64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-emailx86_64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-guii686 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-guisparc64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-guix86_64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-svni686 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-svnsparc64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | git-svnx86_64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | gitki686 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | gitksparc64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | gitkx86_64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | gitwebi686 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | gitwebsparc64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | gitwebx86_64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | perl-Giti686 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | perl-Gitsparc64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 6 | perl-Gitx86_64 | Advisory build | 0:1.7.1-4.el6_7.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | emacs-gitx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | emacs-git-elx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | gitx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | git-allx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | git-bzrx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | git-cvsx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | git-daemonx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | git-emailx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | git-guix86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | git-hgx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | git-p4x86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | git-svnx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | gitkx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | gitwebx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | perl-Gitx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Oracle Linux | 7 | perl-Git-SVNx86_64 | Advisory build | 0:1.8.3.1-6.el7_2.1 | ELSA-2016-0496 |
| Red Hat Enterprise Linux | RHEL-6 | emacs-git-elnoarch | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | giti686 | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | gitppc64 | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | gits390x | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | gitsrc | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | gitx86_64 | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git-allnoarch | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git-cvsnoarch | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git-daemoni686 | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git-daemonppc64 | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git-daemons390x | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git-daemonx86_64 | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git-debuginfoi686 | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git-debuginfoppc64 | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git-debuginfos390x | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git-debuginfox86_64 | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git-emailnoarch | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git-guinoarch | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git-svnnoarch | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | git19-emacs-gitnoarch | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-emacs-git-elnoarch | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-gitsrc | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-gitx86_64 | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-git-allnoarch | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-git-cvsnoarch | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-git-daemonx86_64 | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-git-debuginfox86_64 | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-git-emailnoarch | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-git-guinoarch | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-git-svnx86_64 | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-gitknoarch | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-gitwebnoarch | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-perl-Gitnoarch | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | git19-perl-Git-SVNnoarch | Advisory build | 1.9.4-4.el6.1 | RHSA-2016:0497 |
| Red Hat Enterprise Linux | RHEL-6 | gitknoarch | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | gitwebnoarch | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-6 | perl-Gitnoarch | Advisory build | 1.7.1-4.el6_7.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-gitnoarch | Advisory build | 1.8.3.1-6.el7_2.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-git-elnoarch | Advisory build | 1.8.3.1-6.el7_2.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-7 | gitppc64 | Advisory build | 1.8.3.1-6.el7_2.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-7 | gitppc64le | Advisory build | 1.8.3.1-6.el7_2.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-7 | gits390x | Advisory build | 1.8.3.1-6.el7_2.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-7 | gitsrc | Advisory build | 1.8.3.1-6.el7_2.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-7 | gitx86_64 | Advisory build | 1.8.3.1-6.el7_2.1 | RHSA-2016:0496 |
| Red Hat Enterprise Linux | RHEL-7 | git-allnoarch | Advisory build | 1.8.3.1-6.el7_2.1 | RHSA-2016:0496 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
25- FEDORA-2016-8f164810c3 http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183147.html
- FEDORA-2016-6554eff611 http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179121.html
- FEDORA-2016-cee7647200 http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180763.html
- SUSE-SU-2016:0796 http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00059.html
- SUSE-SU-2016:0798 http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00060.html
- openSUSE-SU-2016:0802 http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00061.html
- openSUSE-SU-2016:0803 http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00062.html
- openSUSE-SU-2016:0826 http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00071.html
- openSUSE-SU-2016:0829 http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00074.html
- openSUSE-SU-2016:0831 http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00076.html
- openSUSE-SU-2016:0832 http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00077.html
- openSUSE-SU-2016:0958 http://lists.opensuse.org/opensuse-updates/2016-04/msg00011.html
- http://pastebin.com/UX2P2jjg
- RHSA-2016:0496 http://rhn.redhat.com/errata/RHSA-2016-0496.html
- DSA-3521 http://www.debian.org/security/2016/dsa-3521
- [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) http://www.openwall.com/lists/oss-security/2016/03/15/5
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- 84355 http://www.securityfocus.com/bid/84355
- 1035290 http://www.securitytracker.com/id/1035290
- USN-2938-1 http://www.ubuntu.com/usn/USN-2938-1
- https://github.com/git/git/commit/34fa79a6cde56d6d428ab0d3160cb094ebad3305
- https://github.com/git/git/commit/de1e67d0703894cb6ea782e36abb63976ab07e60
- https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.7.4.txt
- GLSA-201605-01 https://security.gentoo.org/glsa/201605-01
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f4c0196ad830509ee0e3de6bb2bfb2a59f7904a77de426a72c1bcaa47a53f1cd
- Ingested
- 23 Sep 2026, 07:41:13 UTC
- Source record
- Official CVE record