CVE-2026-0915CWE-908

getnetbyaddr and getnetbyaddr_r leak stack contents to DNS resovler

High · published January 15, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
48.9
In the wild
Unconfirmed
What it is

⚡ Just a simple DNS query could leak sensitive data! The GNU C Library's getnetbyaddr function can inadvertently expose stack contents when misconfigured. 🔍 Think of it like a lost package at a postal office; if the system isn’t set up correctly, they might accidentally send sensitive documents to the wrong address instead of just the package. 📦 An attacker could exploit this vulnerability to reveal sensitive information from the stack, risking exposure of confidential data like passwords or cryptographic keys. This leak could significantly compromise the integrity of your systems and data security!

Put simply

Think of it like a lost package at a postal office; if the system isn’t set up correctly, they might accidentally send sensitive documents to the wrong address instead of just the package. 📦 This vulnerability occurs when calling getnetbyaddr or getnetbyaddr_r with a misconfigured nsswitch.conf that points to a DNS backend, leading to unintentional disclosure of stack contents to the DNS resolver.

What to do

An attacker could exploit this vulnerability to reveal sensitive information from the stack, risking exposure of confidential data like passwords or cryptographic keys. This leak could significantly compromise the integrity of your systems and data security! To remediate, ensure that your nsswitch.conf is configured correctly to avoid pointing to insecure DNS backends. Upgrade to a more recent version of the GNU C Library (post 2.42) to mitigate this issue. Regularly audit your configurations to enhance security! You've got this! With the right steps, your systems will be fortified against this vulnerability in no time! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00618 · 48.9th percentile
Weakness
CWE-908 · Use of Uninitialized Resource
Published
2026-01-15T22:08Z
EPSS history
Timeline
  • 15 JAN 22:08Z
    getnetbyaddr and getnetbyaddr_r leak stack contents to DNS resovler
    cvelistv5