What’s Vulnerable › Vulnerabilities
CVE-2023-4806: Glibc: potential use-after-free in getaddrinfo()
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-09-18 · updated 2026-07-14
- Weakness: CWE-416
Description
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.
Affected products
- Fedoraproject Fedora: 37, 38, 39
- GNU C Library (glibc): 2.33
- RedHat Codeready Linux Builder Eus: 9.2
- RedHat Codeready Linux Builder Eus For Power Little Endian: 9.0_ppc64le
- RedHat Codeready Linux Builder Eus For Power Little Endian Eus: 9.2_ppc64le
- RedHat Codeready Linux Builder For Arm64: 9.0_aarch64
- RedHat Codeready Linux Builder For Arm64 Eus: 9.2_aarch64
- RedHat Codeready Linux Builder For Ibm Z Systems: 9.0_s390x
- RedHat Codeready Linux Builder For Ibm Z Systems Eus: 9.2_s390x
- Red Hat Enterprise Linux: 7.0, 8.0, 9.0
- RedHat Enterprise Linux Eus: 8.8, 9.2
- RedHat Enterprise Linux For Arm 64: 9.0_aarch64
- RedHat Enterprise Linux For Arm 64 Eus: 9.2_aarch64
- RedHat Enterprise Linux For Ibm Z Systems: 8.0_s390x
- RedHat Enterprise Linux For Ibm Z Systems Eus: 8.8_s390x
- RedHat Enterprise Linux For Ibm Z Systems Eus S390X: 9.2
- RedHat Enterprise Linux For Ibm Z Systems S390X: 9.2
- RedHat Enterprise Linux For Power Little Endian: 8.0_ppc64le, 9.2_ppc64le
- RedHat Enterprise Linux For Power Little Endian Eus: 8.8_ppc64le, 9.2_ppc64le
- RedHat Enterprise Linux Server Aus: 9.2
- RedHat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions: 9.2_ppc64le
- RedHat Enterprise Linux Tus: 8.8
References
- https://access.redhat.com/errata/RHSA-2023:5453
- https://access.redhat.com/errata/RHSA-2023:5455
- https://access.redhat.com/errata/RHSA-2023:7409
- https://access.redhat.com/security/cve/CVE-2023-4806
- https://bugzilla.redhat.com/show_bug.cgi?id=2237782
- http://www.openwall.com/lists/oss-security/2023/10/03/4
- http://www.openwall.com/lists/oss-security/2023/10/03/5
- http://www.openwall.com/lists/oss-security/2023/10/03/6
- http://www.openwall.com/lists/oss-security/2023/10/03/8
- https://access.redhat.com/errata/RHSA-2023:5453
- https://access.redhat.com/errata/RHSA-2023:5455
- https://access.redhat.com/errata/RHSA-2023:7409
Get alerted when CVE-2023-4806 or the next vulnerability affects your stack