CVE-2016-2315

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.

Published: 2016-04-08 Last update: 2026-05-06 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2016-2315 is rated High Risk (67.4/100): CVSS Critical severity, with high exploitation likelihood (EPSS 17.65%, 95th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2016-2315

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-12-01 25.72% 17.65% -8.07%
2 2025-03-30 33.20% 25.72% -7.48%
3 2025-03-29 33.20%

Full EPSS history (13 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2016-2315

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
10.0 2.0 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
10.0 10.0 [email protected]

Weakness enumeration for CVE-2016-2315

OS Trackers for CVE-2016-2315

vendor priority summary link
debian unimportant CVE-2016-2315 unimportant priority: Debian including 2 source packages (cgit, git), 10 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 10. https://security-tracker.debian.org/tracker/CVE-2016-2315
gentoo normal CVE-2016-2315: 1 GLSA(s) (201605-01), 1 atom(s) (dev-vcs/git); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2016-2315
redhat high https://access.redhat.com/security/cve/CVE-2016-2315
suse medium CVE-2016-2315 severity moderate: SUSE including 183 source package names (cgit-1.0-1.3, emacs-git-1.8.3.1-6.el7_2.1, …), 227 product×package rows across 41 product lines (SUSE Liberty Linux 7, SUSE Linux Enterprise High Performance Computing 12 SP5, … (41 product lines)): Fixed 227. https://www.suse.com/security/cve/CVE-2016-2315/
ubuntu high CVE-2016-2315 high priority: Ubuntu including 1 source packages (git), 4 status rows across 4 suites (precise, trusty, upstream, wily): released 4. https://ubuntu.com/security/CVE-2016-2315

Affected software / configurations for CVE-2016-2315

Vendor Product Version Raw CPE
suse linux_enterprise_debuginfo 11 cpe:2.3:a:suse:linux_enterprise_debuginfo:11:sp4:*:*:*:*:*:*
suse openstack_cloud 5 cpe:2.3:a:suse:openstack_cloud:5:*:*:*:*:*:*:*
opensuse leap 42.1 cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*
opensuse opensuse 13.2 cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*
suse linux_enterprise_server 12 cpe:2.3:o:suse:linux_enterprise_server:12:sp1:*:*:*:*:*:*
suse linux_enterprise_software_development_kit 11 cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp4:*:*:*:*:*:*
suse linux_enterprise_software_development_kit 12 cpe:2.3:o:suse:linux_enterprise_software_development_kit:12:*:*:*:*:*:*:*
suse linux_enterprise_software_development_kit 12 cpe:2.3:o:suse:linux_enterprise_software_development_kit:12:sp1:*:*:*:*:*:*
suse suse_linux_enterprise_server 12 cpe:2.3:o:suse:suse_linux_enterprise_server:12:*:*:*:*:*:*:*
git-scm git 2.7.3 cpe:2.3:a:git-scm:git:2.7.3:*:*:*:*:*:*:*

References for CVE-2016-2315

URL Tags
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183147.html Mailing List Third Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179121.html Mailing List Third Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180763.html Mailing List Third Party 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
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00061.html Mailing List Vendor Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00062.html Mailing List 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/msg00074.html Mailing List 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/msg00077.html Mailing List Vendor Advisory
http://lists.opensuse.org/opensuse-updates/2016-04/msg00011.html Mailing List Vendor Advisory
http://pastebin.com/UX2P2jjg Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0496.html Third Party Advisory
http://www.debian.org/security/2016/dsa-3521 Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/03/15/5 Mailing List
http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html Third Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html Third Party Advisory
http://www.securityfocus.com/bid/84355 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1035290 Third Party Advisory VDB Entry
http://www.ubuntu.com/usn/USN-2938-1 Third Party Advisory
https://github.com/git/git/commit/34fa79a6cde56d6d428ab0d3160cb094ebad3305 Patch Third Party Advisory
https://github.com/git/git/commit/de1e67d0703894cb6ea782e36abb63976ab07e60 Patch Third Party Advisory
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.7.4.txt Vendor Advisory
https://security.gentoo.org/glsa/201605-01 Third Party Advisory
cvelogic Threat Intelligence