VulnarioBlogglibc vulnerabilities

glibc Vulnerabilities: The 10 Most Critical glibc Security Bugs (CVEs)

glibc vulnerabilities are security flaws in glibc that attackers can abuse to steal data, take over a server or interrupt a service. glibc is the GNU C library that nearly every Linux program depends on. The National Vulnerability Database (NVD) lists 163 CVEs for glibc, 22 of them rated critical, and 11 were published in the last 12 months. CISA lists 1 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.

This guide lists the 10 most critical glibc security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers glibc security basics and a free way to be told about the next glibc CVE as soon as it is published.

Key takeaways

  • 1 CVE is in CISA's KEV catalog, so attackers have exploited it in the wild.
  • 22 glibc CVEs are rated critical (CVSS v3), and 11 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2026-5450, published Apr 20, 2026.
  • You can monitor glibc for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these glibc CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical glibc CVEs at a glance

Most critical glibc vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2023-49117.8 High2023-10-03GNU C Library Buffer OverflowYes
2CVE-2026-54509.8 Critical2026-04-20Heap buffer overflowNo
3CVE-2023-06879.8 Critical2023-02-06Buffer overflowNo
4CVE-2023-251399.8 Critical2023-02-03Out-of-bounds writeNo
5CVE-2022-232189.8 Critical2022-01-14Buffer overflowNo
6CVE-2022-232199.8 Critical2022-01-14Buffer overflowNo
7CVE-2021-335749.8 Critical2021-05-25Use after freeNo
8CVE-1999-01999.8 Critical2020-10-06Critical security flawNo
9CVE-2019-10100229.8 Critical2019-07-15Memory buffer overflowNo
10CVE-2005-35909.8 Critical2019-04-10Memory buffer overflowNo

Each glibc CVE explained

1. CVE-2023-4911: GNU C Library Buffer Overflow

  • CVSS 7.8 High
  • In CISA KEV (added 2023-11-21)
  • Published 2023-10-03
  • CWE-122
What NVD says
A buffer overflow was discovered in the GNU C Library's dynamic loader ld.so while processing the GLIBC_TUNABLES environment variable. This issue could allow a local attacker to use maliciously crafted GLIBC_TUNABLES environment variables when launching binaries with SUID permission to execute code with elevated privileges.
How it can be attacked
Can be exploited locally on the machine with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.34 to before 2.39
What to do
Upgrade to 2.39 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2023-4911 (opens in a new tab)

2. CVE-2026-5450: Heap buffer overflow

  • CVSS 9.8 Critical
  • Published 2026-04-20
  • CWE-122
What NVD says
Calling the scanf family of functions with a %mc (malloc'd character match) in the GNU C Library version 2.7 to version 2.43 with a format width specifier with an explicit width greater than 1024 could result in a one byte heap buffer overflow.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.7 through 2.43
What to do
Apply the vendor's security update for your release and restart the service.

NVD record for CVE-2026-5450 (opens in a new tab)

3. CVE-2023-0687: Buffer overflow

  • CVSS 9.8 Critical
  • Published 2023-02-06
  • CWE-120
What NVD says
A vulnerability was found in GNU C Library 2.38. It has been declared as critical. This vulnerability affects the function __monstartup of the file gmon.c of the component Call Graph Monitor. The manipulation leads to buffer overflow. It is recommended to apply a patch to fix this issue. VDB-220246 is the identifier assigned to this vulnerability.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 2.38
What to do
Upgrade to 2.38 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2023-0687 (opens in a new tab)

4. CVE-2023-25139: Out-of-bounds write

  • CVSS 9.8 Critical
  • Published 2023-02-03
  • CWE-787
What NVD says
sprintf in the GNU C Library (glibc) 2.37 has a buffer overflow (out-of-bounds write) in some situations with a correct buffer size. This is unrelated to CWE-676. It may write beyond the bounds of the destination buffer when attempting to write a padded, thousands-separated string representation of a number, if the buffer is allocated the exact size required to represent that number as a string.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.37
What to do
Apply the vendor's security update for your release and restart the service.

NVD record for CVE-2023-25139 (opens in a new tab)

5. CVE-2022-23218: Buffer overflow

  • CVSS 9.8 Critical
  • Published 2022-01-14
  • CWE-120
What NVD says
The deprecated compatibility function svcunix_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its path argument on the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) arbitrary code execution.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 2.31
What to do
Upgrade to 2.31 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2022-23218 (opens in a new tab)

6. CVE-2022-23219: Buffer overflow

  • CVSS 9.8 Critical
  • Published 2022-01-14
  • CWE-120
What NVD says
The deprecated compatibility function clnt_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its hostname argument on the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) arbitrary code execution.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 2.31
What to do
Upgrade to 2.31 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2022-23219 (opens in a new tab)

7. CVE-2021-33574: Use after free

  • CVSS 9.8 Critical
  • Published 2021-05-25
  • CWE-416
What NVD says
The mq_notify function in the GNU C Library (aka glibc) versions 2.32 and 2.33 has a use-after-free. It may use the notification thread attributes object (passed through its struct sigevent parameter) after it has been freed by the caller, leading to a denial of service (application crash) or possibly unspecified other impact.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.32; 2.33
What to do
Apply the vendor's security update for your release and restart the service.

NVD record for CVE-2021-33574 (opens in a new tab)

8. CVE-1999-0199: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2020-10-06
  • CWE-252
What NVD says
manual/search.texi in the GNU C Library (aka glibc) before 2.2 lacks a statement about the unspecified tdelete return value upon deletion of a tree's root, which might allow attackers to access a dangling pointer in an application whose developer was unaware of a documentation update from 1999.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 2.2
What to do
Upgrade to 2.2 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-1999-0199 (opens in a new tab)

9. CVE-2019-1010022: Memory buffer overflow

  • CVSS 9.8 Critical
  • Published 2019-07-15
  • CWE-119
What NVD says
GNU Libc current is affected by: Mitigation bypass. The impact is: Attacker may bypass stack guard protection. The component is: nptl. The attack vector is: Exploit stack buffer overflow vulnerability and use this bypass vulnerability to bypass stack guard. NOTE: Upstream comments indicate "this is being treated as a non-security bug and no real threat.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
See the NVD record for the full list of affected versions.
What to do
Apply the vendor's security update for your release and restart the service.

NVD record for CVE-2019-1010022 (opens in a new tab)

10. CVE-2005-3590: Memory buffer overflow

  • CVSS 9.8 Critical
  • Published 2019-04-10
  • CWE-119
What NVD says
The getgrouplist function in the GNU C library (glibc) before version 2.3.5, when invoked with a zero argument, writes to the passed pointer even if the specified array size is zero, leading to a buffer overflow and potentially allowing attackers to corrupt memory.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 2.3.5
What to do
Upgrade to 2.3.5 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2005-3590 (opens in a new tab)

How to check if your glibc is vulnerable

Find the exact version first, then compare it with the affected and fixed versions in each CVE above.

ldd --version

On Linux, Debian, Ubuntu and RHEL-based distributions often backport security fixes and keep the old version number, so a package that looks old can already be patched. Check your distribution's own security tracker or the package changelog before concluding that a server is exposed.

glibc security checklist

  1. Update through your distribution's package manager and restart services that load the library.
  2. Do not feed untrusted input to the tool without validation or sandboxing.
  3. Track where it is embedded in your software, since many applications bundle their own copy.
  4. Run processing jobs as an unprivileged user with limited resources.

Where you run glibc matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating glibc: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than glibc. A flaw anywhere in the chain can be the way in, so also review our guides to Linux Kernel vulnerabilities, GNU Bash vulnerabilities and sudo vulnerabilities.

How to get alerted about new glibc vulnerabilities

NVD received 11 new glibc CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose glibc and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run glibc alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about glibc vulnerabilities

What are the most critical glibc vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical glibc CVEs include CVE-2023-4911 (CVSS 7.8), CVE-2026-5450 (CVSS 9.8), CVE-2023-0687 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.

Have glibc vulnerabilities been exploited in real attacks?

Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 1 glibc CVE, including CVE-2023-4911. Treat these as the highest priority to patch.

How many vulnerabilities does glibc have?

As of Nov 3, 2026 the National Vulnerability Database lists 163 CVEs for glibc, with 22 rated critical by CVSS v3. 11 were published in the previous twelve months.

How do I check which glibc version I run?

Run ldd --version on the server and compare the result with the fixed versions in each CVE. On Debian, Ubuntu and RHEL-based systems, fixes are often backported without changing the version number, so also check your distribution's security tracker.

How can I get alerted when a new glibc CVE is published?

Add glibc to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose glibc and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is glibc secure?

glibc is as secure as its patch level. NVD published 11 new glibc CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2023-4911?

CVE-2023-4911 is a high glibc vulnerability with a CVSS score of 7.8, published Oct 3, 2023. A buffer overflow was discovered in the GNU C Library's dynamic loader ld.so while processing the GLIBC_TUNABLES environment variable.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.