{"id":"CVE-2023-4806","published":"2023-09-18T16:33:57Z","modified":"2026-11-07T11:31:57Z","title":"Glibc: potential use-after-free in getaddrinfo()","vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01606,"percentile":0.76477,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:5453","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2023:5455","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2023:7409","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-4806","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2237782","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/03/4","tags":["x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/03/5","tags":["x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/03/6","tags":["x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/03/8","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4DBUQRRPB47TC3NJOUIBVWUGFHBJAFDL/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DFG4P76UHHZEWQ26FWBXG76N2QLKKPZA/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDAQWHTSVOCOZ5K6KPIWKRT3JX4RTZUR/","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/202310-03","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20240125-0008/","tags":["x_transferred"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-831302.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":15.3},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Extended Update Support","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Virtualization 4 for Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-15T19:32:30.612167Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-54650","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-enterprise-linux-8-cve-2023-4806","children":[{"from":"CVE-2023-4806","to":"CVE-2023-5156","relation":"regression","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"regression","quote":"A recent fix for CVE-2023-4806 introduced the potential for a memory leak, which may result in an application crash.","from":"CVE.org","in":"CVE-2023-5156"}]}]}}