# CVE-2023-5156: Glibc: dos due to memory leak in getaddrinfo.c

Status: published. Published: 2023-09-25. Updated: 2026-11-07.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Red Hat / Red Hat Enterprise Linux 6 (compat-glibc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (glibc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (compat-glibc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (glibc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (glibc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (glibc): Version range not reported. Source: CNA: redhat
- Siemens / SIMATIC S7-1500 CPU 1518-4 PN/DP MFP: ≥ V3.1.0; < V3.1.5 (affected, custom). Source: ADP: siemens-SADP
- Siemens / SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP: ≥ V3.1.0; < V3.1.5 (affected, custom). Source: ADP: siemens-SADP
- Siemens / SIPLUS S7-1500 CPU 1518-4 PN/DP MFP: ≥ V3.1.0; < V3.1.5 (affected, custom). Source: ADP: siemens-SADP

## Severity and prioritization

- CVSS 3.1: 7.5 (high); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H; source: CNA: redhat

- CISA KEV: No listing in collected sources

- EPSS: 1.63% as of 2026-11-06; percentile 76.27%

- SSVC: exploitation none; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-401

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/security/cve/CVE-2023-5156 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2240541 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://sourceware.org/bugzilla/show_bug.cgi?id=30884 (CNA: redhat)

- https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=ec6b95c3303c700eb89eebeda2d7264cc184a796 (CNA: redhat)

- http://www.openwall.com/lists/oss-security/2023/10/03/4 (ADP: CVE; x_transferred)

- http://www.openwall.com/lists/oss-security/2023/10/03/5 (ADP: CVE; x_transferred)

- http://www.openwall.com/lists/oss-security/2023/10/03/6 (ADP: CVE; x_transferred)

- http://www.openwall.com/lists/oss-security/2023/10/03/8 (ADP: CVE; x_transferred)

- https://access.redhat.com/security/cve/CVE-2023-5156 (ADP: CVE; vdb-entry, x_refsource_REDHAT, x_transferred)

- https://bugzilla.redhat.com/show_bug.cgi?id=2240541 (ADP: CVE; issue-tracking, x_refsource_REDHAT, x_transferred)

- https://security.gentoo.org/glsa/202402-01 (ADP: CVE; x_transferred)

- https://sourceware.org/bugzilla/show_bug.cgi?id=30884 (ADP: CVE; x_transferred)

- https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=ec6b95c3303c700eb89eebeda2d7264cc184a796 (ADP: CVE; x_transferred)

- https://cert-portal.siemens.com/productcert/html/ssa-831302.html (ADP: siemens-SADP)

- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (ADP: siemens-SADP)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2023-5156; retrieved 2026-11-07; source updated 2026-11-07

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2023-5156; retrieved 2026-11-07; source updated Not reported

Revision: dac08371ab6e01140799098a805a945fea9359607317551e227fe4a1ad4e4a8e

Canonical: https://y2.dev/cve/CVE-2023-5156

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.