Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2005-4895: Multiple integer overflows in TCMalloc (tcmalloc.cc) in gperftools before 0.4 make it easier for context-depen

34
Routine
MEDIUM 5.0UPGRADE

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 score5.0 (Medium)
EPSS exploit chance1.1% (top 34%)
CISA exploited listNo
WeaknessCWE-189
Published2012-07-25
Last modified2026-06-16
Publisher (CNA): MITRE · Vendor: csilvers

Share: LinkedIn · X · Reddit

Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

csilvers gperftools UPGRADE
Affected: <= 0.3 · 0.1 · 0.2
Fixed in: newer than 0.3
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy gperftools || rpm -q gperftools || gperftools --version
2. UPGRADE to newer than 0.3 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade gperftools
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade gperftools
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.