JLSEC-2026-2261: Calling getnetbyaddr or getnetbyaddr_r with a configured nsswitch.conf that specifies the library...
Calling getnetbyaddr or getnetbyaddrr 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 Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What conditions are required for exploitation?
The affected system must use GNU C Library version 2.0 through 2.42, have nsswitch.conf configured to use the DNS backend for networks, and call getnetbyaddr or getnetbyaddr_r with a zero-valued network query. No attacker privileges or user interaction are indicated by the supplied severity vector.
What could an attacker obtain if exploitation succeeds?
Stack contents can be leaked to the DNS resolver configured for network lookups. The supplied impact vector indicates high confidentiality impact, with no indicated integrity or availability impact.
How can I identify potentially affected deployments?
Check whether the relevant environment uses a GNU C Library version in the 2.0–2.42 range, whether its nsswitch.conf directs network lookups to DNS, and whether application code invokes getnetbyaddr or getnetbyaddr_r with zero-valued network addresses.