CVE-2008-3546
HIGH 7.5CVSS 2.0Stack-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.
- Published
- 7 Aug 2008
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-119
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | git | gitcpe:2.3:a:git:git:1.5.5.3:*:*:*:*:*:*:* |
= 1.5.5.3 | |
| NVD | git | gitcpe:2.3:a:git:git:1.5.5.3:r1:*:*:*:*:*:* |
= 1.5.5.3 | |
| NVD | git | gitcpe:2.3:a:git:git:1.5.5.4:*:*:*:*:*:*:* |
= 1.5.5.4 | |
| NVD | git | gitcpe:2.3:a:git:git:1.5.6.1:*:*:*:*:*:*:* |
= 1.5.6.1 | |
| NVD | git | gitcpe:2.3:a:git:git:1.5.6.2:*:*:*:*:*:*:* |
= 1.5.6.2 | |
| NVD | git | gitcpe:2.3:a:git:git:1.5.6.3:*:*:*:*:*:*:* |
= 1.5.6.3 |
References
- http://kerneltrap.org/mailarchive/git/2008/7/16/2529284 · Exploit
- http://secunia.com/advisories/31347 · Vendor Advisory
- 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
History
- 25 Nov 2026 20:14 UTC · NVD: first stored (published 7 Aug 2008)