# GHOST

> Buffer overflow in glibc's gethostbyname functions enabling remote code execution.

## At a glance

GHOST is a vulnerability in the area of Software, disclosed on 27 January 2015 and tracked as CVE-2015-0235. It was discovered by Qualys. The rights to the logo lie with Qualys, Inc.; the designer is not stated. No licence is stated for the logo; all rights remain with the rights holder. If you want to use it yourself, ask for permission first.

## Background

A buffer overflow in the glibc function __nss_hostname_digits_dots, called via gethostbyname, can be triggered locally and remotely. Qualys demonstrated exploitation against the Exim mail server, where it led to code execution. The bug had existed since glibc 2.2 from 2000 and had been quietly fixed in May 2013 without being recognised as a security flaw.

## Facts

- Disclosed: 27 January 2015
- CVE: [CVE-2015-0235](https://nvd.nist.gov/vuln/detail/CVE-2015-0235)
- Area: [Software](https://vulnallery.de/en/category/software/)
- Discovered by: Qualys
- Affected: GNU C Library (glibc) 2.2 to 2.17 and Linux distributions still shipping it
- Severity: CVSS 2.0 10.0 (high), CVE-2015-0235, NVD
- Official website: https://blog.qualys.com/vulnerabilities-threat-research/2015/01/27/the-ghost-vulnerability
- Wikidata: https://www.wikidata.org/wiki/Q25394260
- Logo: https://vulnallery.de/assets/img/ghost.svg
- Rights holder: Qualys, Inc.
- Logo licence: No licence stated – all rights remain with the rights holder
- Source of the image rights: https://blog.qualys.com/vulnerabilities-threat-research/2015/01/27/the-ghost-vulnerability
- Sources: https://blog.qualys.com/vulnerabilities-threat-research/2015/01/27/the-ghost-vulnerability, https://www.openwall.com/lists/oss-security/2015/01/27/9, https://nvd.nist.gov/vuln/detail/CVE-2015-0235

## Questions and answers about GHOST

### What is GHOST?

Buffer overflow in glibc's gethostbyname functions enabling remote code execution. A buffer overflow in the glibc function __nss_hostname_digits_dots, called via gethostbyname, can be triggered locally and remotely. Qualys demonstrated exploitation against the Exim mail server, where it led to code execution. The bug had existed since glibc 2.2 from 2000 and had been quietly fixed in May 2013 without being recognised as a security flaw. GHOST was disclosed on 27 January 2015.

### Who discovered GHOST?

GHOST was discovered by Qualys.

### What is affected by GHOST?

Affected: GNU C Library (glibc) 2.2 to 2.17 and Linux distributions still shipping it.

### How severe is GHOST?

NVD rates CVE-2015-0235 with a CVSS 2.0 base score of 10.0 out of 10 (high).

### Who designed the GHOST logo?

The rights to the logo lie with Qualys, Inc.; the designer is not stated.

### May I use the GHOST logo?

No licence is stated for the logo; all rights remain with the rights holder. If you want to use it yourself, ask for permission first. No guarantee; the source blog.qualys.com is authoritative.

### Which CVE identifier does GHOST have?

GHOST is tracked as CVE-2015-0235.

---

Source: Vulnallery – https://vulnallery.de/en/ghost/ (as of 2026-11-20). This page in German: https://vulnallery.de/de/ghost/
