CVE-2016-2315: Git-Scm Git

Critical severity, CVSS 9.8. EPSS: 17% probability of exploitation activity in the next 30 days.

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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 2.7.4"; check the vendor's advisory for the release that fixes it.

Affected products

Published 2016-04-08. Last modified 2026-06-17.