Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2010-2542

23
FAUCET Score

CVE-2010-2542 describes a stack-based buffer overflow vulnerability in the is_git_directory function within Git versions prior to 1.7.2.1. This flaw allows a local attacker to potentially gain privileges by crafting a malicious .git file with an excessively long gitdir: field. With a CVSS score of 7.5, this vulnerability is considered high severity, indicating a relatively easy attack with potential for partial confidentiality, integrity, and availability impact. There is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
< 1.7.2.1CPE matchmatch criteria
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 2.0

7.5HIGH

AV:N/AC:L/Au:N/C:P/I:P/A:P

Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Exploitability Score
10.0
Impact Score
6.4
CvssVersion
2.0

Exploit Intelligence

EPSS Score
2.51%
Probability of exploitation in next 30 days
EPSS Percentile
83.1%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0251 is in the 70th percentile among its peer group of 51,553 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (4)

microsoftpatch availablevia msrc
Product: cm1 git 2.23.4-1 on CBL Mariner 1.0Fixed in: 2.23.4-1
microsoftpatch availablevia msrc
Product: 16924-16820Fixed in: 2.23.4-1
microsoftpatch availablevia msrc
Product: CBL Mariner 1.0 x64Fixed in: 2.23.4-1
microsoftpatch availablevia msrc
Product: CBL Mariner 1.0 ARMFixed in: 2.23.4-1

Vendor Advisories (3)

microsoft2020-Sep/CVE-2010-2542

CVE-2010-2542

Sep 8, 2020
microsoft2010-Aug/CVE-2010-2542Important

Stack-based buffer overflow in the is_git_directory function in setup.c in Git before 1.7.2.1 allows local users to gain privileges via a long gitdir: field in a .git file in a working copy.

Aug 2, 2010
redhatCVE-2010-2542Low

Git: Arbitrary code execution via specially-crafted .git file

Jul 20, 2010

References

git.kernel.org
lists.opensuse.org / opensuse-security-announce/2011-02/msg00004.html
Third Party Advisory
bugzilla.redhat.com / show_bug.cgi
Issue TrackingThird Party Advisory
secunia.com / advisories/43457
Third Party Advisory
kernel.org / pub/software/scm/git/docs/RelNotes-1.7.2.1.txt
Broken Link
openwall.com / lists/oss-security/2010/07/22/1
Mailing ListThird Party Advisory
openwall.com / lists/oss-security/2010/07/22/4
Mailing ListThird Party Advisory
securityfocus.com / bid/41891
Third Party AdvisoryVDB Entry
vupen.com / english/advisories/2011/0464
Permissions Required