Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2016-2315

git: path_name() integer truncation and overflow leading to buffer overflow

Overview

Published
8 Apr 2016
Modified
17 Jun 2026
Critical CVE
0 Registry packages
38 OS packages
6 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

9.8 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-119

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 13 fixes

Oracle Linux 1 release · 1 package

fixed 1
emacs-git
Oracle Linux fixes for CVE-2016-2315
ReleasePackageFixed in
7 emacs-git +15 1.8.3.1-6.el7_2.1

Red Hat 1 release · 2 packages

fixed 2
emacs-git git19-emacs-git
Red Hat fixes for CVE-2016-2315
ReleasePackageFixed inAdvisory
7 emacs-git +15 0:1.8.3.1-6.el7_2.1 RHSA-2016:0496
7 git19-emacs-git +14 0:1.9.4-4.el7.1 RHSA-2016:0497

debian 4 releases · 1 package

fixed 4
git
debian fixes for CVE-2016-2315
ReleasePackageFixed in
11 git 1:2.7.0-1
12 git 1:2.7.0-1
13 git 1:2.7.0-1
14 git 1:2.7.0-1

echo 1 release · 1 package

fixed 1
git
echo fixes for CVE-2016-2315
ReleasePackageFixed in
git 1:2.7.0-1

openSUSE 1 release · 2 packages

fixed 2
cgit git
openSUSE fixes for CVE-2016-2315
ReleasePackageFixed inAdvisory
Tumbleweed cgit 1.0-1.3 openSUSE-SU-2024:10137-1
Tumbleweed git +11 2.11.0-1.1 openSUSE-SU-2024:10099-1

root.io debian 3 releases · 1 package

fixed 3
rootio-git
root.io debian fixes for CVE-2016-2315
ReleasePackageFixed in
11 rootio-git 1:2.7.0-1
12 rootio-git 1:2.7.0-1
13 rootio-git 1:2.7.0-1

References

Show all 32 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.