A flaw has been identified in glibc. In an extremely rare situation, the getaddrinfo function may access memory that has been freed, resulting in an application crash. This issue is only exploitable when a NSS module implements only the _nss_*_gethostbyname2_r and _nss_*_getcanonname_r hooks without implementing the _nss_*_gethostbyname3_r hook. The resolved name should return a large number of IPv6 and IPv4, and the call to the getaddrinfo function should have the AF_INET6 address family with AI_CANONNAME, AI_ALL and AI_V4MAPPED as flags.
CVE-2023-4806
CVSS base score
5.9 (v3.1)
Severity
MEDIUM
Attack vector
Network
Weakness
CWE-416
Last modified
November 7, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
gnu glibc
redhat codeready linux builder eus
redhat codeready linux builder eus for power little endian
redhat codeready linux builder eus for power little endian eus
redhat codeready linux builder for arm64
redhat codeready linux builder for arm64 eus
redhat codeready linux builder for ibm z systems
redhat codeready linux builder for ibm z systems eus
redhat enterprise linux
redhat enterprise linux eus
References
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking, Third Party Advisory
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.openwall.com
- access.redhat.com Third Party Advisory