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

High 7.5 Published Updated

A memory leak in glibc's getaddrinfo function can cause application crashes, leading to denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-5156?

CVE-2023-5156 is a high-severity denial of service vulnerability in Gnu Glibc, published on 25 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-401

Which versions are affected by CVE-2023-5156?

It affects 2 products.

Products include Gnu Glibc, Redhat Enterprise Linux.

How do I fix CVE-2023-5156?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-5156 being exploited?

There is no known exploitation of CVE-2023-5156 in the wild and no public exploit code.

All Gnu Glibc vulnerabilities

Sources

Also known as AZL-30046, AZL-34734, BELL-CVE-2023-5156, DEBIAN-CVE-2023-5156, GHSA-m7p3-g2hx-xfc3, MGASA-2023-0281 and 1 more.

Is CVE-2023-5156 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free