CVE-2023-4806
Glibc: potential use-after-free in getaddrinfo()
CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-416 |
| Vendor | red hat |
| Product | red hat enterprise linux 8 |
| Published | Sep 18, 2023 |
| Last Updated | Nov 20, 2025 |
Stay Ahead of the Next One
Get instant alerts for red hat red hat enterprise linux 8
Be the first to know when new medium vulnerabilities affecting red hat red hat enterprise linux 8 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected Versions
Red Hat / Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 8.6 Extended Update Support
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat Virtualization 4 for Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 6
All versions affected Red Hat / Red Hat Enterprise Linux 6
All versions affected Red Hat / Red Hat Enterprise Linux 7
All versions affected Red Hat / Red Hat Enterprise Linux 7
All versions affected References
access.redhat.com: https://access.redhat.com/errata/RHBA-2024:2413 access.redhat.com: https://access.redhat.com/errata/RHSA-2023:5453 access.redhat.com: https://access.redhat.com/errata/RHSA-2023:5455 access.redhat.com: https://access.redhat.com/errata/RHSA-2023:7409 access.redhat.com: https://access.redhat.com/security/cve/CVE-2023-4806 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2237782 openwall.com: http://www.openwall.com/lists/oss-security/2023/10/03/4 openwall.com: http://www.openwall.com/lists/oss-security/2023/10/03/5 openwall.com: http://www.openwall.com/lists/oss-security/2023/10/03/6 openwall.com: http://www.openwall.com/lists/oss-security/2023/10/03/8 lists.fedoraproject.org: https://lists.fedoraproject.org/archives/list/[email protected]/message/4DBUQRRPB47TC3NJOUIBVWUGFHBJAFDL/ lists.fedoraproject.org: https://lists.fedoraproject.org/archives/list/[email protected]/message/DFG4P76UHHZEWQ26FWBXG76N2QLKKPZA/ lists.fedoraproject.org: https://lists.fedoraproject.org/archives/list/[email protected]/message/NDAQWHTSVOCOZ5K6KPIWKRT3JX4RTZUR/ security.gentoo.org: https://security.gentoo.org/glsa/202310-03 security.netapp.com: https://security.netapp.com/advisory/ntap-20240125-0008/
Credits
This issue was discovered by Siddhesh Poyarekar (Red Hat).