CVE-2010-2542
HIGH · CVSS 7.5EPSS 2.5%EU EUVD
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.
Key facts
- CVSS score
- 7.5 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P- Weakness (CWE)
- CWE-787
- EPSS score
- 2.5% (85th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2010-2546)
- Published
- August 11, 2010
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2010-2546 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- git-scm / git
References
- 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)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain