CVE-2008-3546
CVE-2008-3546 is a high-severity vulnerability in Git with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: High (CVSS 2.0 base score 7.5)
- EPSS exploit prediction: 4% (90th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Git
- Published:
- Last modified:
Description
Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before 1.5.6.4 might allow local users to execute arbitrary code via a PATH whose length is larger than the system's PATH_MAX when running GIT utilities such as git-diff or git-grep.
Frequently asked questions
- What is CVE-2008-3546?
- Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before 1.5.6.4 might allow local users to execute arbitrary code via a PATH whose length is larger than the system's PATH_MAX when running GIT utilities such as git-diff or git-grep.
- How severe is CVE-2008-3546?
- CVE-2008-3546 has a CVSS 2.0 base score of 7.5, rated high severity.
- Is CVE-2008-3546 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (90th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2008-3546?
- CVE-2008-3546 primarily affects Git. In total, 6 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2008-3546?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2008-3546 published?
- CVE-2008-3546 was published on 2008-08-07 and last updated on 2026-06-16.
References
- http://kerneltrap.org/mailarchive/git/2008/7/16/2529284
- http://secunia.com/advisories/31347
- http://secunia.com/advisories/31780
- http://secunia.com/advisories/32029
- http://secunia.com/advisories/32384
- http://secunia.com/advisories/33964
- http://security.gentoo.org/glsa/glsa-200809-16.xml
- http://wiki.rpath.com/Advisories:rPSA-2008-0253
- http://www.debian.org/security/2008/dsa-1637
- http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.5.6.4.txt
- http://www.securityfocus.com/archive/1/495391/100/0/threaded
- http://www.securityfocus.com/bid/30549
- http://www.securitytracker.com/id?1020627
- http://www.ubuntu.com/usn/USN-723-1
- http://www.vupen.com/english/advisories/2008/2306
- https://exchange.xforce.ibmcloud.com/vulnerabilities/44217
- https://issues.rpath.com/browse/RPL-2707
- https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00729.html
Affected products (6)
- cpe:2.3:a:git:git:1.5.5.3:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.5.3:r1:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.5.4:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.6.1:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.6.2:*:*:*:*:*:*:*
- cpe:2.3:a:git:git:1.5.6.3:*:*:*:*:*:*:*
More vulnerabilities in Git
- CVE-2020-5260 — Critical (CVSS 9.3): Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host…
- CVE-2024-32002 — Critical (CVSS 9.0): Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4,…
- CVE-2024-52005 — High (CVSS 8.8): Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error…
- CVE-2022-25648 — High (CVSS 8.1): The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the…
- CVE-2024-52006 — High (CVSS 7.5): Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both…
- CVE-2008-5516 — High (CVSS 7.5): The web interface in git (gitweb) 1.5.x before 1.5.5 allows remote attackers to execute arbitrary commands via shell…
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.