« List of all CVEs

CVE-2023-4806

Glibc: potential use-after-free in getaddrinfo()

Published: 9/18/2023 Last updated: 7/14/2026 Reserved: 9/6/2023

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.

CNA assigner: redhat (53f830b8-0a3f-465b-8143-3b8a9948e749) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 5.9 Medium CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Opam packages affected (1)

gettext-stub

Products affected (20)

Product Vendor Version
Red Hat Enterprise Linux 6 Red Hat < 6.3.9600.20478
Red Hat Enterprise Linux 7 Red Hat < 785
Red Hat Enterprise Linux 7 Red Hat < 10.0.17763.2452
Red Hat Enterprise Linux 6 Red Hat < 755
Red Hat Enterprise Linux 9 Red Hat < 753
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 Red Hat < 754
Red Hat Enterprise Linux 6 Red Hat < 756
Red Hat Enterprise Linux 7 Red Hat n/a
Red Hat Enterprise Linux 8 Red Hat < 6.3.9600.20478
Red Hat Enterprise Linux 8 Red Hat < 6.1.7601.26022
Red Hat Enterprise Linux 8.6 Extended Update Support Red Hat < 6.1.7601.26022
Red Hat Enterprise Linux 9 Red Hat < 6.2.9200.23771
Red Hat Enterprise Linux 9 Red Hat < 6.2.9200.23771
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 Red Hat < 6.3.9600.20478
Red Hat Enterprise Linux 6 Red Hat n/a
Red Hat Enterprise Linux 8 Red Hat < 740
Red Hat Enterprise Linux 7 Red Hat < 10.0.17763.2452
Red Hat Enterprise Linux 8 Red Hat < 750
Red Hat Enterprise Linux 8.6 Extended Update Support Red Hat < 751
Red Hat Enterprise Linux 9 Red Hat < 752

References (42)

Credits (2)