Glibc: dos due to memory leak in getaddrinfo.c

Summary

CVECVE-2023-5156
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-09-25 16:15:15 UTC
Updated2026-10-14 22:17:18 UTC
DescriptionA flaw was found in the GNU C Library. A recent fix for CVE-2023-4806 introduced the potential for a memory leak, which may result in an application crash.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

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

EPSS: 0.015830000 probability, percentile 0.750590000 (date 2026-10-14)

Problem Types: CWE-401 | CWE-401 Missing Release of Memory after Effective Lifetime


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1[email protected]Secondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1CNACVSS7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

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

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gnu Glibc All All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 9.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 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
2240541 – (CVE-2023-5156) CVE-2023-5156 glibc: DoS due to memory leak in getaddrinfo.c af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Patch
oss-security - Re: CVE-2023-4806, CVE-2023-5156: glibc: potential use-after-free in getaddrinfo() af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
glibc: Multiple Vulnerabilities (GLSA 202402-01) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
cert-portal.siemens.com/productcert/html/ssa-831302.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
sourceware.org Git - glibc.git/commitdiff af854a3a-2127-422b-91ae-364da2661108 sourceware.org Mailing List, Patch
oss-security - Re: CVE-2023-4806, CVE-2023-5156: glibc: potential use-after-free in getaddrinfo() af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
30884 – (CVE-2023-5156) Memory leak in getaddrinfo after fix for bug 30843 (CVE-2023-5156) af854a3a-2127-422b-91ae-364da2661108 sourceware.org Issue Tracking, Patch
oss-security - CVE-2023-4806, CVE-2023-5156: glibc: potential use-after-free in getaddrinfo() af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com 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
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank Romain Geissler for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2023-09-25T00:00:00.000ZReported to Red Hat.
CNA2023-09-25T00:00:00.000ZMade public.

Legacy QID Mappings

  • 199987 Ubuntu Security Notification for GNU C Library Vulnerabilities (USN-6541-1)
  • 356620 Amazon Linux Security Advisory for glibc : ALAS2023-2023-407
  • 6140073 AWS Bottlerocket Security Update for glibc (GHSA-2pcj-27vj-vvpj)
  • 673448 EulerOS Security Update for glibc (EulerOS-SA-2024-1268)
  • 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)
  • 710851 Gentoo Linux glibc Multiple Vulnerabilities (GLSA 202402-01)
  • 907531 Common Base Linux Mariner (CBL-Mariner) Security Update for glibc (30046-1)

© 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