---
title: CVE-2005-4895
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-2005-4895
---

# CVE-2005-4895

Publication date 25 July 2012

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

Multiple integer overflows in TCMalloc (tcmalloc.cc) in gperftools before
0.4 make it easier for context-dependent attackers to perform
memory-related attacks such as buffer overflows via a large size value,
which causes less memory to be allocated than expected.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| google-perftools | 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## References

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

### Other references

* <http://kqueue.org/blog/2012/03/05/memory-allocator-security-revisited/>
* <http://code.google.com/p/gperftools/source/browse/tags/perftools-0.4/ChangeLog>
* <https://www.cve.org/CVERecord?id=CVE-2005-4895>
