CVE-2015-0235

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…

published January 28, 2015

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.9th percentile for exploit probability.

CVSS
—
EPSS
95%
Percentile
99.9
In the wild
Unconfirmed
What it is

⚠️ A heap-based buffer overflow lurking in glibc versions 2.2 to 2.18 could let attackers run arbitrary code — an invitation to chaos! 🔥 Think of this vulnerability like a delivery truck overflowing with packages. If the driver makes a wrong turn—with no oversight—the entire load spills out, creating a mess that anyone can exploit. An attacker could leverage this flaw to execute malicious code on affected systems that use vulnerable versions of glibc. This means they could potentially gain control over the machine, accessing sensitive data or even hijacking services, which could lead to a significant breach.

Put simply

Think of this vulnerability like a delivery truck overflowing with packages. If the driver makes a wrong turn—with no oversight—the entire load spills out, creating a mess that anyone can exploit. The vulnerability in the __nss_hostname_digits_dots function can be exploited via the gethostbyname or gethostbyname2 functions, allowing attackers to manipulate memory allocations and execute arbitrary code.

What to do

An attacker could leverage this flaw to execute malicious code on affected systems that use vulnerable versions of glibc. This means they could potentially gain control over the machine, accessing sensitive data or even hijacking services, which could lead to a significant breach. To mitigate this risk, upgrade your glibc to version 2.18 or later as soon as possible. Regularly review and patch your systems, especially those that handle network requests. Don’t forget to audit your code for any dependencies on vulnerable functions! This is fixable! Stay proactive with your updates and you'll have this vulnerability under control in no time. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.94558 · 99.9th percentile
Published
2015-01-28T19:00Z
EPSS history
Timeline
  • 28 JAN 19:00Z
    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…
    cvelistv5