Glibc: dos due to memory leak in getaddrinfo.c
Summary
| CVE | CVE-2023-5156 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-09-25 16:15:15 UTC |
| Updated | 2026-10-14 22:17:18 UTC |
| Description | A 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
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS: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)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| 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
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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
| Source | Time | Event |
|---|---|---|
| CNA | 2023-09-25T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2023-09-25T00:00:00.000Z | Made 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)