← Vulnerability feed

Vulnerability record · CVE-2015-0235 · published 28 January 2015

CVE-2015-0235: glibc gethostbyname heap buffer overflow (GHOST)

Gnu · Glibc

CVE-2015-0235 is a heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2 and other 2.x versions before 2.18. It is reachable through the gethostbyname and gethostbyname2 functions, so any application that resolves a hostname with attacker-influenced input can trigger it. Because glibc is a core system library, the flaw affects a very wide range of Linux and Unix-like software.

10.0 CVSS 2.0 High EPSS 95% · top 0.1% CWE-787 · Out-of-bounds write
10.0CVSS 2.0 base score
95%EPSS exploitation probability, 30 days
NoNot in CISA KEV
18Affected product versions listed by NVD
180References, 24 tagged exploit
17 Jun 2026Last modified by NVD

Description

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

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityCVSS 2.0 score is 10.0 with complete confidentiality, integrity and availability impact, the flaw is remotely reachable without authentication, and public exploit references exist.

What it is

CVE-2015-0235 is a heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2 and other 2.x versions before 2.18. It is reachable through the gethostbyname and gethostbyname2 functions, so any application that resolves a hostname with attacker-influenced input can trigger it. Because glibc is a core system library, the flaw affects a very wide range of Linux and Unix-like software.

Impact

A context-dependent attacker can execute arbitrary code in the process that performs the name resolution, or at minimum crash it. Successful exploitation gives the attacker the privileges of the vulnerable service, which is often root or a network-facing daemon.

Attack surface

Reached remotely over the network through applications that call gethostbyname or gethostbyname2 on attacker-controlled hostnames, such as mail servers and other network services. No authentication is required per the CVSS vector AV:N/AC:L/Au:N, though the attacker must be able to influence the hostname being resolved.

Exploitation

CISA KEV does not list it, but EPSS is very high at 0.94558 (99.85th percentile) and multiple references are tagged Exploit, including Packet Storm and Full Disclosure entries, indicating public exploit material exists.

What to do

  • Patch glibc to version 2.18 or later, or apply the vendor backport for your distribution (Red Hat, Debian, Oracle, Apple, IBM advisories are referenced).
  • Restart all services and processes that link glibc after patching, since the vulnerable code is loaded into running processes.
  • Where patching is not immediately possible, restrict or filter attacker-controlled hostnames reaching gethostbyname/gethostbyname2 callers.
  • Inventory and prioritize network-facing services that resolve hostnames from untrusted input, such as mail and web servers.
  • Monitor vendor advisories for embedded and appliance products that bundle glibc and may lag behind upstream fixes.

Detection

  • Hunt for processes and services that call gethostbyname or gethostbyname2 with externally supplied hostnames.
  • Monitor for crashes or abnormal termination in name-resolution paths that could indicate exploitation attempts.
  • Check glibc package versions across hosts and flag any still below 2.18 or missing the vendor backport.
  • Review network logs for unusual or malformed hostname lookups directed at vulnerable services.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

18 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://blogs.sophos.com/2015/01/29/sophos-products-and-the-ghost-vulnerability-affecting-linux/ Third Party Advisory
http://linux.oracle.com/errata/ELSA-2015-0090.html Third Party Advisory
http://linux.oracle.com/errata/ELSA-2015-0092.html Third Party Advisory
http://lists.apple.com/archives/security-announce/2015/Jun/msg00002.html Mailing ListThird Party Advisory
http://lists.apple.com/archives/security-announce/2015/Oct/msg00005.html Mailing ListThird Party Advisory
http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=142296726407499&w=2 Issue TrackingMailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=142721102728110&w=2 Issue TrackingMailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=142722450701342&w=2 Issue TrackingMailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=142781412222323&w=2 Issue TrackingMailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=143145428124857&w=2 Issue TrackingMailing ListThird Party Advisory
http://packetstormsecurity.com/files/130171/Exim-ESMTP-GHOST-Denial-Of-Service.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/130768/EMC-Secure-Remote-Services-GHOST-SQL-Injection-Command-Injection.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/130974/Exim-GHOST-glibc-gethostbyname-Buffer-Overflow.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/153278/WAGO-852-Industrial-Managed-Switch-Series-Code-Execution-Hardcoded-Credentia ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/164014/Moxa-Command-Injection-Cross-Site-Scripting-Vulnerable-Software.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/167552/Nexans-FTTO-GigaSwitch-Outdated-Components-Hardcoded-Backdoor.html ExploitThird Party AdvisoryVDB Entry
http://rhn.redhat.com/errata/RHSA-2015-0126.html Third Party Advisory
http://seclists.org/fulldisclosure/2015/Jan/111 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Jun/18 ExploitMailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2021/Sep/0 ExploitMailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2022/Jun/36 ExploitMailing ListThird Party Advisory
http://seclists.org/oss-sec/2015/q1/269 Mailing ListThird Party Advisory
http://seclists.org/oss-sec/2015/q1/274 ExploitMailing ListThird Party Advisory
http://secunia.com/advisories/62517 Not Applicable
http://secunia.com/advisories/62640 Not Applicable
http://secunia.com/advisories/62667 Not Applicable
http://secunia.com/advisories/62680 Not Applicable
http://secunia.com/advisories/62681 Not Applicable
http://secunia.com/advisories/62688 Not Applicable
http://secunia.com/advisories/62690 Not Applicable
http://secunia.com/advisories/62691 Not Applicable
http://secunia.com/advisories/62692 Not Applicable
http://secunia.com/advisories/62698 Not Applicable
http://secunia.com/advisories/62715 Not Applicable
http://secunia.com/advisories/62758 Not Applicable
http://secunia.com/advisories/62812 Not Applicable
http://secunia.com/advisories/62813 Not Applicable
http://secunia.com/advisories/62816 Not Applicable
http://secunia.com/advisories/62865 Not Applicable

Track CVE-2015-0235 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2015-0235), CISA KEV, FIRST EPSS (scores of 2026-09-23). This page is refreshed as NVD updates the record.