A vulnerability in GNU C Library (glibc) versions 2.0 through 2.38 allows stack contents to be leaked to a DNS resolver when getnetbyaddr or getnetbyaddr_r functions are called with a specific nsswitch.conf configuration that uses the DNS backend for networks and queries a zero-valued network. This issue is fixed in version 2.39.