SecPod

Learn Search

Search across all Learn content

← Back to Security Research
CVE-2015-0235: GHOST in the GNU C Library

CVE-2015-0235: GHOST in the GNU C Library

Jan 27, 2015By Kumarswamy S2 min read

A critical vulnerability known as Ghost Cat Vulnerability is discovered in GNU C Library (glibc) by a vulnerability scanning tool. The GNU C Library, commonly known as glibc, is the GNU Project’s implementation of the C standard library and a core part of the Linux operating system.

GNU C Library (glibc) is used in most of the Linux distributions, which is prone to a heap-based buffer overflow vulnerability and allows local and remote attackers to execute arbitrary code on the vulnerable systems. Researchers at Qualys discovered the vulnerability. CVE-2015-0235 assigned to this vulnerability and auto patching can mitigate them.

The vulnerability exists in the __nss_hostname_digits_dots() function, which is used by the gethostbyname() and gethostbyname2() glibc function calls, hence the name GHOST (GetHOST) vulnerability. The vulnerability triggers via gethostbyname() and gethostbyname2() functions. Successful exploitation allows local/remote attackers to execute arbitrary code. Also attacker can bypass security protections mechanism like NX, ASLR and PIE on both 32-bit and 64-bit systems successfully.

GNU C Library (glibc) is in most of the Linux based appliances from different vendors and it’s a core component for Linux systems. Similar to Heartbleed, Shellshock and POODLE, this affects wide range of applications. Due to it’s nature and wide range of  products rated as critical vulnerability.

According to Qualys this bug fixed in 2013 as a minor bug fix but not as security fix, hence vendors using glibc library at that time ignored to update, as a result, many stable and LTS (long term support) distributions affected by this vulnerability including Debian 7, RHEL 6 & 7, CentOS 6 & 7, Ubuntu 12.04 etc.

Simple steps to check GNU C Library is vulnerable to Ghost Cat Vulnerability:

  1. We can download a tool from the University of Chicago that will let us test our system for the vulnerability.
    • wget https://webshare.uchicago.edu/orgs/ITServices/itsec/Downloads/GHOST.c
  2. Run Following commands:
    • gcc GHOST.c -o GHOST
    • ./GHOST
  3. The above command responds whether the system is vulnerable OR not vulnerable
    • vulnerable

We strongly suggest applying the latest available patches from your vendors as soon as possible and you need to reboot for changes to take effect.

SecPod Saner detects these vulnerabilities and automatically fixes them by applying security updates. Download Saner now and keep your systems updated and secure.

– Kumarswamy S

Featured Posts

Open Root-Level RCE Flaw in Cisco Nexus 9000 Series Switches Exposes Networks to Complete Compromise — CVE-2026-20212
Root-Level RCE Flaw in Cisco Nexus 9000 Series Switches Exposes Networks to Complete Compromise — CVE-2026-20212

CVE Research

Root-Level RCE Flaw in Cisco Nexus 9000 Series Switches Exposes Networks to Complete Compromise — CVE-2026-20212

CVE-2026-20212 is a critical vulnerability in Cisco Nexus 9000 Series Switches that use Silicon One ASICs. It allows an unauthenticated remote attacker to execute code with root privileges by sending crafted input to TCP ports 43210 and 43211, which are reachable in the default Layer 3 VRF. Exploitation can also crash the S1HAL process and force a device reload. This article covers how the vulnerability works, the affected product identifiers, its potential impact, available workarounds, and how to identify fixed software using the Cisco Software Checker.

Sep 4, 2026

Open SonicWall SMA 1000 Under Active Attack: Two Zero-Days Enable SSRF and Remote Code Execution
SonicWall SMA 1000 Under Active Attack: Two Zero-Days Enable SSRF and Remote Code Execution

CVE Research

SonicWall SMA 1000 Under Active Attack: Two Zero-Days Enable SSRF and Remote Code Execution

Sep 3, 2026

Open Introducing SecPod VEX Studio: Guided Vulnerability Exploitability Assessment for Open-Source Maintainers
Secpod_VEX_Studio For Open-Source Vulnerability Management

CVE Research

Introducing SecPod VEX Studio: Guided Vulnerability Exploitability Assessment for Open-Source Maintainers

A human-guided path from SBOM and vulnerability data to reviewable OpenVEX statements

Sep 2, 2026

Open Inside the PaperCut Zero-Day Attack Chain: Auth Bypass to Code Execution
Inside the PaperCut Zero-Day Attack Chain: Auth Bypass to Code Execution

CVE Research

Inside the PaperCut Zero-Day Attack Chain: Auth Bypass to Code Execution

Sep 1, 2026