CVE-2008-3546

Summary

CVECVE-2008-3546
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-08-07 21:41:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionStack-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.

Risk And Classification

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: CWE-119 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Git Git 1.5.5.3 All All All
Application Git Git 1.5.5.3 r1 All All
Application Git Git 1.5.5.4 All All All
Application Git Git 1.5.6.1 All All All
Application Git Git 1.5.6.2 All All All
Application Git Git 1.5.6.3 All All All
Operating System Linux Parduslinux 2007 All All All
Operating System Linux Parduslinux 2008 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Advisories:rPSA-2008-0253 - rPath Wiki af854a3a-2127-422b-91ae-364da2661108 wiki.rpath.com
Fedora update for git - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Git: User-assisted execution of arbitrary code — Gentoo Linux Documentation af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
404: File not found af854a3a-2127-422b-91ae-364da2661108 www.kernel.org
Git Pathname Multiple Buffer Overflow Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Debian -- Security Information -- DSA-1637-1 git-core af854a3a-2127-422b-91ae-364da2661108 www.debian.org
[SECURITY] Fedora 9 Update: git-1.5.6.5-1.fc9 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Ubuntu update for git-core - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
issues.rpath.com/browse/RPL-2707 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com
SecurityTracker.com Archives - GIT Buffer Overflow in diff_addremove() and diff_change() May Let Remote Users Execute Arbitrary Code af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
GIT Pathname Processing Multiple Buffer Overflows - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
[PATCH] Fix buffer overflow in git diff | KernelTrap af854a3a-2127-422b-91ae-364da2661108 kerneltrap.org Exploit
USN-723-1: Git vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Debian update for git-core - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Gentoo update for git - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report