{"id":"CVE-2008-3546","aliases":["DEBIAN-CVE-2008-3546","DSA-1637-1","DTSA-153-1","DTSA-153-2","EUVD-2008-3532","GHSA-j9cr-wr26-g3fp"],"status":"published","title":"Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.04302,"percentile":0.91211,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2008-08-07T21:00:00Z","modified":"2026-06-16T22:56:01Z","fixes":[{"ecosystem":"Debian:4.0","package":"git-core","fixed_in":["1:1.4.4.4-2.1+etch1"],"sources":["osv"]},{"ecosystem":"Debian:5.0","package":"git-core","fixed_in":["1.5.6.3-1+lenny1","1.5.6.3-1+lenny2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"git-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.4.4.4-2.1+etch1"}]}],"versions":["1:1.4.4.4-2"]},{"source":"osv","ecosystem":"Debian:5.0","package":"git-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.6.3-1+lenny1"}]}]},{"source":"osv","ecosystem":"Debian:5.0","package":"git-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.6.3-1+lenny2"}]}]}],"products":[{"vendor":"git","product":"git"}],"references":[{"url":"http://www.securityfocus.com/archive/1/495391/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.5.6.4.txt","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/32029","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://wiki.rpath.com/Advisories:rPSA-2008-0253","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/44217","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://secunia.com/advisories/33964","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://issues.rpath.com/browse/RPL-2707","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/31347","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200809-16.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.debian.org/security/2008/dsa-1637","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://kerneltrap.org/mailarchive/git/2008/7/16/2529284","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00729.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://secunia.com/advisories/32384","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/bid/30549","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/2306","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.securitytracker.com/id?1020627","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://secunia.com/advisories/31780","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-723-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-3546"},{"url":"https://github.com/advisories/GHSA-j9cr-wr26-g3fp"}],"sources":{"cve":[{"id":"CVE-2008-3546","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.","status":"published","published":"2008-08-07T21:00:00Z","modified":"2024-08-07T09:45:18.573Z","updated_at":"2026-11-02T14:34:45.877751Z"}],"euvd":[{"id":"EUVD-2008-3532","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.","status":"published","published":"2008-08-07T21:00:00Z","modified":"2024-08-07T09:45:18Z","updated_at":"2026-11-03T01:38:51.761525Z"}],"ghsa":[{"id":"GHSA-j9cr-wr26-g3fp","title":"Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before...","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.","status":"published","published":"2022-05-02T00:01:17Z","modified":"2023-01-31T05:07:21Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:49:11.691089Z"}],"nvd":[{"id":"CVE-2008-3546","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.","status":"published","published":"2008-08-07T21:41:00Z","modified":"2026-06-16T22:56:01.597Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:27.800088Z"}],"osv":[{"id":"DSA-1637-1","title":"git-core - buffer overflow","status":"published","published":"2008-09-15T00:00:00Z","modified":"2026-03-09T01:21:50.027878Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"DTSA-153-1","title":"git-core - stack-based buffer overflow","status":"published","published":"2008-08-09T00:00:00Z","modified":"2026-03-09T01:01:38.872301Z","updated_at":"2026-11-02T15:46:18.716547Z"},{"id":"DTSA-153-2","title":"git-core - stack-based buffer overflow","status":"published","published":"2008-08-16T00:00:00Z","modified":"2026-03-09T01:01:47.266486Z","updated_at":"2026-11-02T15:46:18.716547Z"}]}}
