---
title: "CVE-2008-3546\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2008-3546?format=md
keywords: index, follow
---

# CVE-2008-3546

Publication date 7 August 2008

Last updated 24 July 2024

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| git-core | 8.10 intrepid | Fixed 1:1.5.6.3-1.1ubuntu2.1 |
| 8.04 LTS hardy | Fixed 1:1.5.4.3-1ubuntu2.1 |
| 7.10 gutsy | Fixed 1:1.5.2.5-2ubuntu0.1 |
| 7.04 feisty | Ignored end of life, was needed |
| 6.06 LTS dapper | Fixed 1.1.3-1ubuntu1.1 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2008-3546?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| git-core | * Upstream:   <http://git.kernel.org/?p=git/git.git;a=commitdiff;h=fd55a19> * Upstream:   <http://git.kernel.org/?p=git/git.git;a=commitdiff;h=620e2bb> * Upstream:   <http://git.kernel.org/?p=git/git.git;a=commitdiff;h=f66cf96> * Vendor:   <http://patch-tracking.debian.net/package/git-core/1:1.4.4.4-4+etch1> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3546)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2008-3546)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2008-3546)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2008-3546)

### Related Ubuntu Security Notices (USN)

+ [USN-723-1](https://usn.ubuntu.com/USN-723-1)
+ Git vulnerabilities
+ 18 February 2009

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2008-3546>
