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

Summary

CVECVE-2023-4813
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-09-12 22:15:08 UTC
Updated2026-10-14 22:17:18 UTC
DescriptionA flaw has been identified in glibc. In an uncommon situation, the gaih_inet function may use memory that has been freed, resulting in an application crash. This issue is only exploitable when the getaddrinfo function is called and the hosts database in /etc/nsswitch.conf is configured with SUCCESS=continue or SUCCESS=merge.

Risk And Classification

Primary CVSS: v3.1 5.9 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.019260000 probability, percentile 0.795420000 (date 2026-10-14)

Problem Types: CWE-416 | CWE-416 Use After Free


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1[email protected]Secondary5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1CNACVSS5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 38 All All All
Application Gnu Glibc All All All All
Application Netapp Active Iq Unified Manager - All All All
Hardware Netapp H300s - All All All
Operating System Netapp H300s Firmware - All All All
Hardware Netapp H410c - All All All
Operating System Netapp H410c Firmware - All All All
Hardware Netapp H410s - All All All
Operating System Netapp H410s Firmware - All All All
Hardware Netapp H500s - All All All
Operating System Netapp H500s Firmware - All All All
Hardware Netapp H700s - All All All
Operating System Netapp H700s Firmware - All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 9.0 All All All
Operating System Redhat Enterprise Linux Eus 8.8 All All All
Operating System Redhat Enterprise Linux Eus 9.2 All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems Eus S390x 9.2 All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems S390x 9.2 All All All
Operating System Redhat Enterprise Linux For Power Little Endian 9.2_ppc64le All All All
Operating System Redhat Enterprise Linux For Power Little Endian Eus 9.2_ppc64le All All All
Operating System Redhat Enterprise Linux Server Aus 9.2 All All All
Operating System Redhat Enterprise Linux Server Tus 8.8 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:2.28-225.el8_8.6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:2.28-225.el8_8.6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support unaffected 0:2.28-189.8.el8_6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:2.34-100.el9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:2.34-60.el9_2.7 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:2.34-100.el9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:2.34-60.el9_2.7 * rpm Not specified
CNA Red Hat Red Hat Virtualization 4 For Red Hat Enterprise Linux 8 unaffected 0:2.28-189.8.el8_6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified

References

ReferenceSourceLinkTags
cert-portal.siemens.com/productcert/html/ssa-398330.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
2237798 – (CVE-2023-4813) CVE-2023-4813 glibc: potential use-after-free in gaih_inet() af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
oss-security - Re: CVE-2023-4806, CVE-2023-5156: glibc: potential use-after-free in getaddrinfo() af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
access.redhat.com/errata/RHSA-2023:7409 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
CVE-2023-4813 GNU C Library (glibc) Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
access.redhat.com/errata/RHBA-2024:2413 [email protected] access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2023-09-06T00:00:00.000ZReported to Red Hat.
CNA2022-03-01T00:00:00.000ZMade public.

Workarounds

CNA: Removing the "SUCCESS=continue" or "SUCCESS=merge" configuration from the hosts database in /etc/nsswitch.conf will mitigate this vulnerability. Note that, these options are not supported by the hosts database, if they were working before it was because of this bug.

Legacy QID Mappings

  • 160965 Oracle Enterprise Linux Security Update for glibc (ELSA-2023-5455)
  • 160968 Oracle Enterprise Linux Security Update for glibc (ELSA-2023-5453)
  • 160973 Oracle Enterprise Linux Security Update for glibc (ELSA-2023-12872)
  • 160974 Oracle Enterprise Linux Security Update for glibc (ELSA-2023-12873)
  • 199987 Ubuntu Security Notification for GNU C Library Vulnerabilities (USN-6541-1)
  • 242111 Red Hat Update for glibc (RHSA-2023:5453)
  • 242118 Red Hat Update for glibc (RHSA-2023:5455)
  • 242490 Red Hat Update for glibc (RHSA-2023:7409)
  • 356310 Amazon Linux Security Advisory for glibc : ALAS2023-2023-359
  • 378929 Alibaba Cloud Linux Security Update for glibc (ALINUX3-SA-2023:0124)
  • 673448 EulerOS Security Update for glibc (EulerOS-SA-2024-1268)
  • 673461 EulerOS Security Update for glibc (EulerOS-SA-2023-3212)
  • 673463 EulerOS Security Update for glibc (EulerOS-SA-2024-1139)
  • 673505 EulerOS Security Update for glibc (EulerOS-SA-2023-3269)
  • 673617 EulerOS Security Update for glibc (EulerOS-SA-2023-3241)
  • 673645 EulerOS Security Update for glibc (EulerOS-SA-2023-3330)
  • 673703 EulerOS Security Update for glibc (EulerOS-SA-2023-3298)
  • 673927 EulerOS Security Update for glibc (EulerOS-SA-2023-3177)
  • 755072 SUSE Enterprise Linux Security Update for glibc (SUSE-SU-2023:4047-1)
  • 755110 SUSE Enterprise Linux Security Update for glibc (SUSE-SU-2023:4110-1)
  • 941278 AlmaLinux Security Update for glibc (ALSA-2023:5455)
  • 941283 AlmaLinux Security Update for glibc (ALSA-2023:5453)
  • 961035 Rocky Linux Security Update for glibc (RLSA-2023:5455)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report