Skip to content
Noroxi
CVE-2015-0235· NVD / CVE Program· CNA redhat

Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18, allows context-depen

Heap-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."

CriticalCVSS 10.0 · v2.0—Weaponized Fix available
Published
Jan 28, 2015
Updated
Jun 16, 2026
EPSS
94.6% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

68

This week

Don’t wait for the next maintenance window.

CVSS
40 / 40 · 10.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
28 / 30 · 94.6%

Affected systems

VendorProduct
gnuglibc
oraclecommunications application session controller
oraclecommunications eagle application processor
oraclecommunications eagle lnp application processor
oraclecommunications lsms
oraclecommunications policy management
oraclecommunications session border controller
oraclecommunications user data repository
oraclecommunications webrtc session controller
oracleexalogic infrastructure
oraclevm virtualbox
oraclelinux

and 6 more

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • php php5.4.0 and later · before 5.4.38
  • php php5.5.0 and later · before 5.5.22
  • php php5.6.0 and later · before 5.6.6

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12glibcbefore 2.18-12.18-1
Debian:6.0eglibcbefore 2.11.3-4+deb6u42.11.3-4+deb6u4
Debian:7eglibcbefore 2.13-38+deb7u72.13-38+deb7u7
Red Hat:enterprise_linux:5::clientglibcbefore 0:2.5-123.el5_11.10:2.5-123.el5_11.1
Red Hat:enterprise_linux:5::clientglibc-commonbefore 0:2.5-123.el5_11.10:2.5-123.el5_11.1
Red Hat:enterprise_linux:5::clientglibc-debuginfobefore 0:2.5-123.el5_11.10:2.5-123.el5_11.1
Red Hat:enterprise_linux:5::clientglibc-debuginfo-commonbefore 0:2.5-123.el5_11.10:2.5-123.el5_11.1
Red Hat:enterprise_linux:5::clientglibc-develbefore 0:2.5-123.el5_11.10:2.5-123.el5_11.1
Red Hat:enterprise_linux:5::clientglibc-headersbefore 0:2.5-123.el5_11.10:2.5-123.el5_11.1
Red Hat:enterprise_linux:5::clientglibc-utilsbefore 0:2.5-123.el5_11.10:2.5-123.el5_11.1
Red Hat:enterprise_linux:5::clientnscdbefore 0:2.5-123.el5_11.10:2.5-123.el5_11.1
Red Hat:enterprise_linux:6::clientglibcbefore 0:2.12-1.149.el6_6.50:2.12-1.149.el6_6.5
Red Hat:enterprise_linux:6::clientglibc-commonbefore 0:2.12-1.149.el6_6.50:2.12-1.149.el6_6.5
Red Hat:enterprise_linux:6::clientglibc-debuginfobefore 0:2.12-1.149.el6_6.50:2.12-1.149.el6_6.5
Red Hat:enterprise_linux:6::clientglibc-debuginfo-commonbefore 0:2.12-1.149.el6_6.50:2.12-1.149.el6_6.5
Red Hat:enterprise_linux:6::clientglibc-develbefore 0:2.12-1.149.el6_6.50:2.12-1.149.el6_6.5
Red Hat:enterprise_linux:6::clientglibc-headersbefore 0:2.12-1.149.el6_6.50:2.12-1.149.el6_6.5
Red Hat:enterprise_linux:6::clientglibc-staticbefore 0:2.12-1.149.el6_6.50:2.12-1.149.el6_6.5
Red Hat:enterprise_linux:6::clientglibc-utilsbefore 0:2.12-1.149.el6_6.50:2.12-1.149.el6_6.5
Red Hat:enterprise_linux:6::clientnscdbefore 0:2.12-1.149.el6_6.50:2.12-1.149.el6_6.5
Red Hat:enterprise_linux:6::hypervisorrhev-hypervisor6before 0:6.6-20150123.1.el6ev0:6.6-20150123.1.el6ev
Red Hat:enterprise_linux:7::clientglibcbefore 0:2.17-55.el7_0.50:2.17-55.el7_0.5
Red Hat:enterprise_linux:7::clientglibc-commonbefore 0:2.17-55.el7_0.50:2.17-55.el7_0.5
Red Hat:enterprise_linux:7::clientglibc-debuginfobefore 0:2.17-55.el7_0.50:2.17-55.el7_0.5

+59

Same product

gnu: all records

Other highest-scoring records for the same primary product.

  • CVE-2023-4911Glibc: buffer overflow in ld.so leading to privilege escalationKEV
    85Now
  • CVE-2015-7547Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the libresolv library in the GNU C Library (aka glibc
    59Plan
  • CVE-2024-2961The iconv() function in the GNU C Library versions 2.39 and older may overflow the output buffer passed to it by up to 4 bytes when converti
    55Plan
  • CVE-2018-11236stdlib/canonicalize.c in the GNU C Library (aka glibc or libc6) 2.27 and earlier, when processing very long pathname arguments to the realpa
    41Plan
  • CVE-2015-8779Stack-based buffer overflow in the catopen function in the GNU C Library (aka glibc or libc6) before 2.23 allows context-dependent attackers
    41Plan
  • CVE-2015-8778Integer overflow in the GNU C Library (aka glibc or libc6) before 2.23 allows context-dependent attackers to cause a denial of service (appl
    41Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:eglibc2.11.3-4+deb6u4 · Debian:6.0Package registry (OSV)
debian:glibc2.18-1 · Debian:12Package registry (OSV)
red hat:glibc0:2.5-123.el5_11.1 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:glibc-common0:2.5-123.el5_11.1 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:glibc-debuginfo0:2.5-123.el5_11.1 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:glibc-debuginfo-common0:2.5-123.el5_11.1 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:glibc-devel0:2.5-123.el5_11.1 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:glibc-headers0:2.5-123.el5_11.1 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:glibc-profile0:2.3.4-2.57.el4.2 · Red Hat:rhel_els:4::asPackage registry (OSV)
red hat:glibc-static0:2.12-1.149.el6_6.5 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:glibc-utils0:2.5-123.el5_11.1 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:nptl-devel0:2.3.4-2.57.el4.2 · Red Hat:rhel_els:4::asPackage registry (OSV)
red hat:nscd0:2.5-123.el5_11.1 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:rhev-hypervisor60:6.6-20150123.1.el6ev · Red Hat:enterprise_linux:6::hypervisorPackage registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×2
  • Exploit-DB entry ×2
  • Proof-of-concept repository on GitHub ×16

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrydos2015-01-29
Exploit-DB entryremote2015-03-18
Metasploit moduleauxiliary/scanner/http/wordpress_ghost_scannerWordPress XMLRPC GHOST Vulnerability Scannerauxiliary—
Metasploit moduleexploit/linux/smtp/exim_gethostbyname_bofExim GHOST (glibc gethostbyname) Buffer Overflowexploit2015-01-27
Proof-of-concept repository on GitHubstars:62015-01-27
Proof-of-concept repository on GitHubstars:32015-01-27
Proof-of-concept repository on GitHubstars:152015-01-27
Proof-of-concept repository on GitHubstars:12015-01-28
Proof-of-concept repository on GitHubstars:12015-01-28
Proof-of-concept repository on GitHubstars:02015-01-28
Proof-of-concept repository on GitHubstars:12015-01-29
Proof-of-concept repository on GitHubstars:02015-01-29

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-2 d
  2. Metasploit-2 d
  3. Published
  4. TodaySep 30, 2026+4263 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
C · data can be read
Integrity
C · data or configuration can be modified
Availability
C · the service can be disrupted
Attack complexity
Low
Confidentiality impact
C
Integrity impact
C
Availability impact
C

Weakness class (CWE)

CWE-787 · Out-of-bounds Write

CVSS vector

AV:N/AC:L/Au:N/C:C/I:C/A:C

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records