git: path_name() integer truncation and overflow leading to buffer overflow
Published Apr 8, 2016
9.8
CRITICALCVSS 3.1
EPSS 17.31%
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.
Affected products
No data.
Configuration 1
- 11
- 5
- 42.1
- 13.2
- 12
- 11
- 12
- 12
- 12
No data.
Red Hat Enterprise Linux 6
git-0:1.7.1-4.el6_7.1
Fixed · RHSA-2016:0496
Red Hat Enterprise Linux 7
git-0:1.8.3.1-6.el7_2.1
Fixed · RHSA-2016:0496
Red Hat Software Collections for Red Hat Enterprise Linux 6
git19-git-0:1.9.4-4.el6.1
Fixed · RHSA-2016:0497
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
git19-git-0:1.9.4-4.el6.1
Fixed · RHSA-2016:0497
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
git19-git-0:1.9.4-4.el6.1
Fixed · RHSA-2016:0497
Red Hat Software Collections for Red Hat Enterprise Linux 7
git19-git-0:1.9.4-4.el7.1
Fixed · RHSA-2016:0497
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
git19-git-0:1.9.4-4.el7.1
Fixed · RHSA-2016:0497
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
git19-git-0:1.9.4-4.el7.1
Fixed · RHSA-2016:0497
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | git-0:1.7.1-4.el6_7.1 | Fixed | RHSA-2016:0496 |
| Red Hat Enterprise Linux 7 | git-0:1.8.3.1-6.el7_2.1 | Fixed | RHSA-2016:0496 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | git19-git-0:1.9.4-4.el6.1 | Fixed | RHSA-2016:0497 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | git19-git-0:1.9.4-4.el6.1 | Fixed | RHSA-2016:0497 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | git19-git-0:1.9.4-4.el6.1 | Fixed | RHSA-2016:0497 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | git19-git-0:1.9.4-4.el7.1 | Fixed | RHSA-2016:0497 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | git19-git-0:1.9.4-4.el7.1 | Fixed | RHSA-2016:0497 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | git19-git-0:1.9.4-4.el7.1 | Fixed | RHSA-2016:0497 |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Product Security has rated these issues as having Important security impact. For additional information, refer to the Red Hat Knowledgebase article: https://access.redhat.com/articles/2201201
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 17.31% (0.17312) | 97.02th | v5 (v2026.06.15) |
| Jun 15, 2026 | 17.05% (0.17049) | 96.67th | v5 (v2026.06.15) |
| Dec 1, 2025 | 17.65% (0.17652) | 94.88th | v4 (v2025.03.14) |
| Mar 30, 2025 | 25.72% (0.25720) | 95.79th | v4 (v2025.03.14) |
| Mar 29, 2025 | 33.20% (0.33200) | 95.17th | v4 (v2025.03.14) |
| Mar 21, 2025 | 25.72% (0.25720) | 95.81th | v4 (v2025.03.14) |
| Mar 18, 2025 | 17.65% (0.17652) | 94.64th | v4 (v2025.03.14) |
| Mar 17, 2025 | 20.41% (0.20406) | 95.07th | v4 (v2025.03.14) |
| Dec 17, 2024 | 11.93% (0.11934) | 95.31th | v3 (v2023.03.01) |
| May 8, 2024 | 14.10% (0.14103) | 95.66th | v3 (v2023.03.01) |
| Jun 22, 2023 | 13.83% (0.13834) | 94.85th | v3 (v2023.03.01) |
| Mar 12, 2023 | 6.62% (0.06620) | 92.65th | v3 (v2023.03.01) |
| Mar 7, 2023 | 7.12% (0.07120) | 92.91th | v3 (v2023.03.01) |
| Mar 6, 2023 | 10.94% (0.10938) | 94.73th | v2 (v2022.01.01) |
| Apr 1, 2022 | 10.94% (0.10938) | 94.28th | v2 (v2022.01.01) |
| Feb 4, 2022 | 10.94% (0.10938) | 88.37th | v2 (v2022.01.01) |
References (29)
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183147.html vendor-advisoryx_refsource_FEDORAMailing ListThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179121.html vendor-advisoryx_refsource_FEDORAMailing ListThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180763.html vendor-advisoryx_refsource_FEDORAMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00059.html vendor-advisoryx_refsource_SUSEMailing ListVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00060.html vendor-advisoryx_refsource_SUSEMailing List
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00061.html vendor-advisoryx_refsource_SUSEMailing ListVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00062.html vendor-advisoryx_refsource_SUSEMailing ListVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00071.html vendor-advisoryx_refsource_SUSEMailing ListVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00074.html vendor-advisoryx_refsource_SUSEMailing ListVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00076.html vendor-advisoryx_refsource_SUSEMailing ListVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00077.html vendor-advisoryx_refsource_SUSEMailing ListVendor Advisory
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00011.html vendor-advisoryx_refsource_SUSEMailing ListVendor Advisory
- http://pastebin.com/UX2P2jjg x_refsource_MISCThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-0496.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.debian.org/security/2016/dsa-3521 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.openwall.com/lists/oss-security/2016/03/15/5 mailing-listx_refsource_MLISTMailing List
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html x_refsource_CONFIRMThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html x_refsource_CONFIRMThird Party Advisory
- http://www.securityfocus.com/bid/84355 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1035290 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- http://www.ubuntu.com/usn/USN-2938-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2016-2315 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1317981 Issue Tracking
- https://github.com/git/git/commit/34fa79a6cde56d6d428ab0d3160cb094ebad3305 x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/git/git/commit/de1e67d0703894cb6ea782e36abb63976ab07e60 x_refsource_CONFIRMPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-2315
- https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.7.4.txt x_refsource_CONFIRMVendor Advisory
- https://security.gentoo.org/glsa/201605-01 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2016-2315
Change history (0)
No recorded changes yet.