CVE-2008-3546 json
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 execut…
published 2008-08-07 18 y ago modified 2026-06-16 4 mo ago also EUVD-2008-3532
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.3%
- EPSS 4.3% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2008-3546 updated
git: Pathname Processing Multiple Buffer Overflows
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.30% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- kerneltrap.org http://kerneltrap.org/mailarchive/git/2008/7/16/2529284 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
kerneltrap.org
/mailarchive/git/2008/7/16/2529284
mailing-list, exploit
-
security.gentoo.org
/glsa/glsa-200809-16.xml
vendor-advisory
-
debian.org
/security/2008/dsa-1637
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2008-October/msg00729.html
vendor-advisory
-
ubuntu.com
/usn/USN-723-1
vendor-advisory
-
secunia.com
/advisories/31347
third-party-advisory, vendor-advisory
-
securityfocus.com
/archive/1/495391/100/0/threaded
mailing-list
- kernel.org /pub/software/scm/git/docs/RelNotes-1.5.6.4.txt
-
secunia.com
/advisories/32029
third-party-advisory
- wiki.rpath.com /Advisories:rPSA-2008-0253
-
exchange.xforce.ibmcloud.com
/vulnerabilities/44217
vdb-entry
-
secunia.com
/advisories/33964
third-party-advisory
- issues.rpath.com /browse/RPL-2707
-
secunia.com
/advisories/32384
third-party-advisory
-
securityfocus.com
/bid/30549
vdb-entry
-
vupen.com
/english/advisories/2008/2306
vdb-entry
-
securitytracker.com
/id?1020627
vdb-entry
-
secunia.com
/advisories/31780
third-party-advisory
Sources
- CVE List CVE-2008-3546
- NVD CVE-2008-3546
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.