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

Published Sep 25, 2023
·
Updated

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.

Other sources

Glibc: dos due to memory leak in getaddrinfo.c

Microsoft

GNU C Library (glibc) is vulnerable to a denial of service, caused by a memory leak in getaddrinfo.c. By sending a specially crafted request, a remote attacker could exploit this vulnerability to cause the application to crash.

IBM

The fix for CVE-2023-4806 in upstream, introduces a memory leak in getaddrinfo.c which could lead to a Denial-of-Service.

https://sourceware.org/bugzilla/showbug.cgi?id=30884 https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=ec6b95c3303c700eb89eebeda2d7264cc184a796

Red Hat

Affected Software

14 affected componentsFixes available
ubuntu/glibc<2.35-0ubuntu3.5
2.35-0ubuntu3.5
ubuntu/glibc<2.37-0ubuntu2.2
2.37-0ubuntu2.2
ubuntu/glibc<2.38-1ubuntu5
2.38-1ubuntu5
ubuntu/glibc<2.38-1ubuntu5
2.38-1ubuntu5
debian/glibc
2.31-13+deb11u102.36-9+deb12u72.39-6
GNU glibc>=2.34<2.39
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
GNU glibc<2.39
IBM QRadar Network Packet Capture<=7.5.0 - 7.5.0 Update Package 7
redhat/glibc<2.39
2.39
Microsoft azl3 glibc 2.38-6
Microsoft cbl2 glibc 2.35-6
Microsoft azl3 glibc 2.38-10

Event History

Sep 25, 2023
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Red Hat·07:35 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·03:55 PM
Data Sourced
via MITRE·03:55 PM
DescriptionSeverityWeakness
Sep 27, 2023
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Feb 17, 2024
Data Sourced
via Launchpad·05:27 PM
Description
Jul 23, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-5156?

CVE-2023-5156 is a vulnerability in the GNU C Library that can cause a memory leak and application crashes.

2

What is the severity of CVE-2023-5156?

CVE-2023-5156 has a severity rating of high (7.5).

3

Which software is affected by CVE-2023-5156?

The GNU C Library version up to 2.39, GNU glibc version up to 2.39, Redhat Enterprise Linux 8.0, and Redhat Enterprise Linux 9.0 are affected by CVE-2023-5156.

4

How can CVE-2023-5156 be exploited?

CVE-2023-5156 can be exploited by an attacker to cause a memory leak, potentially leading to application crashes.

5

Are there any fixes available for CVE-2023-5156?

Yes, a fix is available for CVE-2023-5156. Update to GNU C Library version 2.39 or newer.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203