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

18 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
GNU glibc<2.39
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
IBM QRadar Network Packet Capture<=7.5.0 - 7.5.0 Update Package 7
Microsoft cbl2 glibc 2.35-6
Microsoft azl3 glibc 2.38-6
Microsoft azl3 glibc 2.38-10
redhat/glibc<2.39
2.39
debian/glibc<2.37-11
2.37-11
debian/glibc<2.37-11
2.37-11
ubuntu/eglibc*
ubuntu/glibc<2.35-0ubuntu3.5
2.35-0ubuntu3.5
GNU glibc>=2.34<2.39
debian/glibc
2.37-11

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/glibc to a version that resolves this vulnerability.

    Fixed in 2.35-0ubuntu3.5
  2. Upgrade

    Upgrade ubuntu/glibc to a version that resolves this vulnerability.

    Fixed in 2.37-0ubuntu2.2
  3. Upgrade

    Upgrade ubuntu/glibc to a version that resolves this vulnerability.

    Fixed in 2.38-1ubuntu5
  4. Upgrade

    Upgrade redhat/glibc to a version that resolves this vulnerability.

    Fixed in 2.39
  5. Upgrade

    Upgrade debian/glibc to a version that resolves this vulnerability.

    Fixed in 2.37-11

Event History

Sep 25, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
Remedy
CVE Published
via MITRE·03:55 PM
Data Sourced
via OSV·03:55 PM
DescriptionSeverityWeakness
Sep 26, 2023
Updated
03:02 PM
Severity
Sep 27, 2023
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Nov 9, 2023
Data Sourced
08:15 PM
Weakness
Dec 10, 2023
Data Sourced
via Red Hat·11:15 AM
DescriptionSeverityAffected Software
Updated
11:26 AM
Severity
Updated
12:15 PM
Affected Software
Updated
12:15 PM
SeverityAffected Software
Dec 15, 2023
Updated
06:18 PM
Affected Software
Jan 23, 2024
Data Sourced
via MITRE·01:02 AM
DescriptionSeverityWeakness
Feb 2, 2024
Data Sourced
via NVD·04:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·04:15 AM
Affected Software
Feb 23, 2024
Updated
via NVD·04:01 PM
Affected Software
Jul 23, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Sep 14, 2024
Updated
via NVD·03:15 AM
RemedyAffected Software
Nov 21, 2024
Updated
via NVD·08:41 AM
RemedyAffected Software
Dec 17, 2024
Updated
via IBM·12:00 AM
Affected Software
Apr 14, 2025
Updated
via IBM·12:00 AM
Affected Software
Oct 14, 2026
Updated
via NVD·10:17 PM
Affected Software
Updated
via NVD·10:17 PM
RemedyAffected Software
Nov 24, 2026
Data Sourced
via OSV·02:54 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

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