CVE-2015-0235
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedHeap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18, allows context-dependent attackers to execute arbitrary code via vectors related to the (1) gethostbyname or (2) gethostbyname2 function, aka "GHOST."
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceHeap-based buffer overflow in glibc's __nss_hostname_digits_dots function allows arbitrary code execution via malicious hostname input to gethostbyname/gethostbyname2. This affects glibc versions 2.2 through 2.17, and was patched in version 2.18.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 5= 7= 7.0= 8.0= 6.0>= 5.4.0, < 5.4.38>= 5.5.0, < 5.5.22>= 5.6.0, < 5.6.6>= 2.0, < 2.18< 3.7.1= 16.0= 10.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
AV:N/AC:L/Au:N/C:C/I:C/A:C
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check glibc versionRun 'ldd --version' or 'rpm -qa | grep glibc' (RHEL/CentOS) or 'dpkg -l | grep libc6' (Debian) to identify the installed glibc versionAffected if glibc version is 2.0 through 2.17 (versions below 2.18)
-
Verify gethostbyname usageReview application source code or binary dependencies to confirm calls to gethostbyname() or gethostbyname2() functions from glibcAffected if applications use these glibc functions to resolve hostnames from untrusted input
-
Check PHP version if deployedRun 'php -v' or check installed PHP packages via 'rpm -qa | grep php' or 'dpkg -l | grep php'Affected if PHP version is 5.4.0-5.4.37, 5.5.0-5.5.21, or 5.6.0-5.6.5 and uses gethostbyname with external input
-
Identify exposed network servicesAudit running services and applications that perform hostname resolution from user-controlled or network-supplied dataAffected if services accept hostname strings from untrusted sources and pass them to gethostbyname/gethostbyname2
Your environment is affected if glibc version is below 2.18 AND you have applications or services that call gethostbyname/gethostbyname2 with hostname input from untrusted sources.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2.183.7.15.4.38
Upgrade glibc to version 2.18 or later to patch the vulnerability. Restart affected services after patching to ensure they load the updated library.
glibc 2.18 or later
- Identify the glibc version currently installed (e.g., 'ldd --version' or 'rpm -q glibc')
- For Red Hat Enterprise Linux / CentOS: run 'yum update glibc' or 'yum update' to apply the fix
- For Debian / Ubuntu: run 'apt-get update && apt-get upgrade glibc'
- For other Linux distributions: obtain the vendor-supplied glibc update from your distribution's security repository
- After updating glibc, reboot the system to ensure all processes use the patched library
- Verify the fix by checking the glibc version is now 2.18 or later (e.g., 'ldd --version')
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,600.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2015-0235 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- www.oracle.com
- packetstormsecurity.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- blogs.sophos.com
- linux.oracle.com
- linux.oracle.com
- lists.apple.com
- lists.apple.com
- lists.apple.com
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- packetstormsecurity.com
- packetstormsecurity.com
- packetstormsecurity.com
- packetstormsecurity.com
- packetstormsecurity.com
- packetstormsecurity.com
- rhn.redhat.com
- seclists.org
- seclists.org
- seclists.org
- seclists.org
- seclists.org
- seclists.org
- support.apple.com
- tools.cisco.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www.debian.org
- www.mandriva.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.securityfocus.com
- www.securityfocus.com
- www.securityfocus.com
- www.securitytracker.com
- bto.bluecoat.com
- cert-portal.siemens.com
- community.qualys.com
- h20564.www2.hpe.com
- help.ecostruxureit.com
- kb.juniper.net
- kc.mcafee.com
- seclists.org
- security.gentoo.org
- security.netapp.com
- support.apple.com
- support.apple.com
- www.arista.com
- www.f-secure.com
- www.qualys.com
- www.sophos.com
- www.openwall.com
- www.websense.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- www.idirect.net
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2015-0235 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data