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

- Severity: High 7.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.63%, higher than 76% of CVEs (2026-12-01)
- Published: 2023-09-25T15:55:15.558Z
- Modified: 2026-11-26T11:44:51.685Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- compat-glibc: no versions given
- glibc: no versions given
- gnu glibc: from 2.34 before 2.39
- redhat enterprise_linux: 8.0; 9.0

## Every score

- redhat: 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`
- NVD: 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`

## References

- <https://access.redhat.com/security/cve/CVE-2023-5156> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2240541> (issue-tracking, patch)
- <https://sourceware.org/bugzilla/show_bug.cgi?id=30884> (issue-tracking, patch)
- <https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=ec6b95c3303c700eb89eebeda2d7264cc184a796> (mailing-list, patch)
- <http://www.openwall.com/lists/oss-security/2023/10/03/4>
- <http://www.openwall.com/lists/oss-security/2023/10/03/5>
- <http://www.openwall.com/lists/oss-security/2023/10/03/6>
- <http://www.openwall.com/lists/oss-security/2023/10/03/8>
- <https://security.gentoo.org/glsa/202402-01>
- <https://cert-portal.siemens.com/productcert/html/ssa-831302.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2023-5156](https://www.cve.org/CVERecord?id=CVE-2023-5156), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2023-5156](https://nvd.nist.gov/vuln/detail/CVE-2023-5156), Public domain, modified 2026-11-07

---

Page: https://cve.day/CVE-2023-5156 · Whole record: https://cve.day/CVE-2023-5156.json · Rebuilt by cve.day 2026-11-26T11:52:21.454Z
