CVE-2016-2315

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.

Category

9.8
CVSS
Severity: Critical
CVSS 3.1 •
CVSS 2.0 •
EPSS 25.72% Top 5%
Vendor Advisory opensuse.org Vendor Advisory fedoraproject.org Vendor Advisory debian.org Vendor Advisory gentoo.org Vendor Advisory opensuse.org Vendor Advisory fedoraproject.org Vendor Advisory opensuse.org Vendor Advisory redhat.com Vendor Advisory opensuse.org Vendor Advisory ubuntu.com Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory fedoraproject.org Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory githubusercontent.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00074.html mailing list vendor advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183147.html mailing list third party advisory vendor advisory
http://www.debian.org/security/2016/dsa-3521 third party advisory vendor advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html third party advisory
https://security.gentoo.org/glsa/201605-01 third party advisory vendor advisory
http://www.securitytracker.com/id/1035290 vdb entry third party advisory
http://www.securityfocus.com/bid/84355 vdb entry third party advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00062.html mailing list vendor advisory
http://pastebin.com/UX2P2jjg third party advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180763.html mailing list third party advisory vendor advisory
http://www.openwall.com/lists/oss-security/2016/03/15/5 mailing list
http://lists.opensuse.org/opensuse-updates/2016-04/msg00011.html mailing list vendor advisory
http://rhn.redhat.com/errata/RHSA-2016-0496.html third party advisory vendor advisory
http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html third party advisory
https://github.com/git/git/commit/34fa79a6cde56d6d428ab0d3160cb094ebad3305 third party advisory patch
https://github.com/git/git/commit/de1e67d0703894cb6ea782e36abb63976ab07e60 third party advisory patch
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.7.4.txt vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00061.html mailing list vendor advisory
http://www.ubuntu.com/usn/USN-2938-1 third party advisory vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00071.html mailing list vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00077.html mailing list vendor advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179121.html mailing list third party advisory vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00076.html mailing list vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00059.html mailing list vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00060.html mailing list vendor advisory

Frequently Asked Questions

What is the severity of CVE-2016-2315?
CVE-2016-2315 has been scored as a critical severity vulnerability.
How to fix CVE-2016-2315?
To fix CVE-2016-2315, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2016-2315 being actively exploited in the wild?
It is possible that CVE-2016-2315 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~26% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.