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.
Conclusion & alert: CVE-2010-2542 is rated Moderate Risk (59.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 2.51%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
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 | 2026-06-15 | 2.14% | 2.51% | +0.37% |
| 2 | 2026-06-10 | 1.66% | 2.14% | +0.48% |
| 3 | 2026-05-28 | — | 1.66% | — |
Full EPSS history (16 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
gentoo
|
high | CVE-2010-2542: 1 GLSA(s) (201401-06), 1 atom(s) (dev-vcs/git); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2010-2542 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2010-2542 |
ubuntu
|
medium | CVE-2010-2542 medium priority: Ubuntu including 2 source packages (git, git-core), 12 status rows across 6 suites (dapper, hardy, jaunty, karmic, lucid, upstream): not-affected 5, DNE 3, ignored 3, released 1. | https://ubuntu.com/security/CVE-2010-2542 |
| URL | Tags |
|---|---|
| http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc | |
| http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html | Third Party Advisory |
| http://secunia.com/advisories/43457 | Third Party Advisory |
| http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt | Broken Link |
| http://www.openwall.com/lists/oss-security/2010/07/22/1 | Mailing List Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2010/07/22/4 | Mailing List Third Party Advisory |
| http://www.securityfocus.com/bid/41891 | Third Party Advisory VDB Entry |
| http://www.vupen.com/english/advisories/2011/0464 | Permissions Required |
| https://bugzilla.redhat.com/show_bug.cgi?id=618108 | Issue Tracking Third Party Advisory |