7.5high
getnetbyaddr and getnetbyaddr_r leak stack contents to DNS resovler
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.62% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- glibc
Description
Calling getnetbyaddr or getnetbyaddr_r with a configured nsswitch.conf that specifies the library's DNS backend for networks and queries for a zero-valued network in the GNU C Library version 2.0 to version 2.42 can leak stack contents to the configured DNS resolver.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| The GNU C Library glibc | from 2.0 up to 2.42 | CVE List |
| gnu glibc | from 2.0 up to 2.42 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
Calling getnetbyaddr or getnetbyaddr_r with a configured nsswitch.conf that specifies the library's DNS backend for networks and queries for a zero-valued network in the GNU C Library version 2.0 to version 2.42 can leak stack contents to the configured DNS resolver.
NVD (es)
Llamar a getnetbyaddr o getnetbyaddr_r con un nsswitch.conf configurado que especifica el backend DNS de la biblioteca para redes y consulta una red con valor cero en la GNU C Library versión 2.0 hasta la versión 2.42 puede filtrar el contenido de la pila al resolvedor DNS configurado.
References
| https://sourceware.org/bugzilla/show_bug.cgi?id=33802 | broken-link, exploit | |
| http://www.openwall.com/lists/oss-security/2026/01/16/6 | mailing-list | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-0915 changed 2026-01-20 | CVE Terms of Use |
| NVD | CVE-2026-0915 changed 2026-06-17 | Public domain |