CVE-2005-4895: Multiple integer overflows in TCMalloc (tcmalloc.cc) in gperftools before 0.4 make it easier for context-depen
CVE-2005-4895 is a medium-severity flaw (CVSS 5.0) affecting gperftools. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.0 (Medium) |
| EPSS exploit chance | 1.1% (top 34%) |
| CISA exploited list | No |
| Weakness | CWE-189 |
| Published | 2012-07-25 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2005-4895?
gperftools: upgrade to newer than 0.3. Exact commands for each OS are on this page.
Is CVE-2005-4895 being exploited?
CVE-2005-4895 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2005-4895 affect?
CVE-2005-4895 affects gperftools. Severity is medium (CVSS 5.0). 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 a
How urgent is CVE-2005-4895?
Priority 34/100. No elevated risk signals yet.
Related CVEs
- CVE-2018-13420 HIGH 7.5 DOWNGRADE Google gperftools 2.7 has a memory leak in malloc_extension.cc, related to MallocExtension::Register and InitM