Skip to content
OpenAdvisories

Vendor

The GNU C Library

36 known vulnerabilities.

The GNU C Library at a glance

Last 12 months
26
Critical · all time
1
Exploited · all time
0
Public exploit · all time
3
New vulnerabilities per month · last 12 months
0 5 10 December 2025: 0 vulnerabilities Dec 2025 January 2026: 3 vulnerabilities February 2026: 0 vulnerabilities March 2026: 4 vulnerabilities Mar April 2026: 4 vulnerabilities, 1 critical May 2026: 0 vulnerabilities June 2026: 0 vulnerabilities Jun July 2026: 0 vulnerabilities August 2026: 2 vulnerabilities September 2026: 9 vulnerabilities Sep October 2026: 1 vulnerability November 2026: 3 vulnerabilities
Show as table
MonthVulnerabilitiesCritical
Nov 202630
Oct 202610
Sep 202690
Aug 202620
Jul 202600
Jun 202600
May 202600
Apr 202641
Mar 202640
Feb 202600
Jan 202630
Dec 202500
Nov 202500
Oct 202500
Sep 202500
Aug 202500
Jul 202510
Jun 202520
May 202510
Apr 202500
Mar 202500
Feb 202500
Jan 202510
Dec 202400

Products

36 results · Feed

  • Low 3.7

    Double free after allocation failure in regcomp and regexec

    The regcomp and regexec functions in the GNU C Library version 2.3 to version 2.44 may read freed memory and free the same heap block twice when a memory allocation fails while a regular expression is compiled or matched. The re_dfa_add_node (the NFA node tab…

  • Medium 4.8

    Calling the wide scanf family of functions (swscanf, fwscanf, wscanf, vswscanf, vfwscanf and vwscanf) with a %s or %[ c…

  • Medium 5.9

    BIG-HKSCS decoding hang on crafted input

    Converting crafted BIG-HKSCS input to UCS-4 or the internal wide character encoding, for example with iconv, in the GNU C Library version 2.18 through 2.31 may result in the converter making no progress, causing the calling application to hang.

  • High 7.0

    gettext: Directory traversal via the LANGUAGE environment variable

    The gettext family of functions in the GNU C Library version 2.0 and later accept LANGUAGE environment variable entries that contain '/' or that are equal to "..", unless the program is setuid or setgid (AT_SECURE). An attacker who can set LANGUAGE in the env…

  • Low 3.7

    One-byte overread in strncasecmp on Power8

    The strncasecmp function in the GNU C Library 2.24 and later optimized for the Power8 architecture may read one byte beyond the input size limit, which may crash a program when that byte is not readable. This condition may happen when the input strings to the…

  • Low 3.6

    AT_SECURE program buffer overflow via $ORIGIN processing

    A stack-based buffer overflow in the dynamic loader (ld.so) of the GNU C Library (glibc) versions 2.14 through 2.44 allows a local attacker to crash or corrupt the memory of setuid/setgid (AT_SECURE) programs. When such a program's DT_RPATH or DT_RUNPATH begi…

  • Medium 6.3

    AT_SECURE programs may load attacker-controlled code via $ORIGIN

    A time-of-check to time-of-use (TOCTOU) race condition in the dynamic loader (ld.so) of the GNU C Library (glibc) versions 2.14 through 2.44 allows a local attacker to escalate privileges. When expanding $ORIGIN in DT_RPATH for setuid/setgid (AT_SECURE) progr…

  • Medium 5.3

    Assertion failure in the DNS stub resolver with a long search domain

    Initializing the DNS stub resolver from an /etc/resolv.conf file, or a LOCALDOMAIN environment variable, whose search list contains a domain of roughly 200 characters or more in the GNU C Library version 2.26 to 2.44 results in an assertion failure which abor…

  • Medium 5.9

    EUC_JISX0213 decoding may hang on crafted input

    Converting crafted EUC_JISX0213 input to UCS-4 or the internal wide character encoding, for example with iconv, in the GNU C Library version 2.3 to 2.44 may result in the converter making no progress, causing the calling application to hang. Some EUC_JISX0213…

  • Medium 5.9

    SHIFT_JISX0213 decoding may hang on crafted input

    Converting crafted SHIFT_JISX0213 input to UCS-4 or the internal wide character encoding, for example with iconv, in the GNU C Library version 2.3 to 2.44 may result in the converter making no progress, causing the calling application to hang. Some SHIFT_JISX…

  • Medium 5.6

    Stack-based out-of-bounds write in tdelete during tree rebalancing

    Calling tdelete on a sufficiently deep tree in the GNU C Library version 2.1 to 2.44 may write one pointer past the end of an alloca-allocated array on the stack, which may crash the application. The tdelete implementation keeps an explicit stack of parent no…

  • High 7.7

    Buffer overflow in strfmon and strfmon_l right-justification padding

    Calling strfmon and strfmon_l in the GNU C Library version 2.38 to 2.44 can write past the end of the caller-supplied output buffer when a conversion uses right-justified width padding. Exploitation requires an application code path that calls strfmon or strf…

  • Medium 4.2

    Stack overflow in nscd due to unbounded alloca use

    The nscd service in the GNU C Library 2.3.4 onwards may crash due to a stack overflow when a malicious DNS server returns too large a response for a DNS query, resulting in degraded DNS resolution for the system. Exploitation of this bug needs a system that h…

  • Medium 4.9

    Passing an effectively empty string to the `,ccs=` syntax extension of the mode argument in the `fopen` function in the…

  • Medium 6.6

    Potential stack-based buffer clash during tilde expansion in wordexp

    When expanding paths that begin with a tilde (~) followed by a username, the internal parse_tilde function extracts the username to determine the user's home directory. The implementation allocates memory for this username directly on the stack using the strn…

  • Medium 6.5

    Buffer overread in ns_printrrf with corrupted RDATA field

    The deprecated functions ns_printrrf, ns_printrr and fp_nquery in the GNU C Library version 2.0.1 to version 2.43 fail to validate the RDATA content against the RDATA length in a DNS response when processing A6, CERT, LOC, TKEY or TSIG records, which may allo…

  • High 7.3

    Potential buffer overflow in ns_sprintrrf TSIG handling path

    The deprecated functions ns_printrrf, ns_printrr and fp_nquery in the GNU C Library version 2.2 and newer fail to enforce the caller-supplied buffer length, and can result in an out-of-bounds write when printing TSIG records.

  • Critical 9.8

    scanf %mc off-by-one heap buffer overflow

    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.

  • High 7.5

    Potential buffer under-read in ungetwc

    Calling the ungetwc function on a FILE stream with wide characters encoded in a character set that has overlaps between its single byte and multi-byte character encodings, in the GNU C Library version 2.43 or earlier, may result in an attempt to read bytes be…

  • High 7.5

    iconv crash due to assertion failure with untrusted input

    The iconv() function in the GNU C Library versions 2.43 and earlier may crash due to an assertion failure when converting inputs from the IBM1390 or IBM1399 character sets, which may be used to remotely crash an application. This vulnerability can be triviall…

  • Medium 5.4

    gethostbyaddr and gethostbyaddr_r return invalid DNS hostnames

    Calling gethostbyaddr or gethostbyaddr_r with a configured nsswitch.conf that specifies the library's DNS backend in the GNU C library version 2.34 to version 2.43 could result in an invalid DNS hostname being returned to the caller in violation of the DNS sp…

  • High 7.5

    gethostbyaddr and gethostbyaddr_r may incorrectly handle DNS response

    Calling gethostbyaddr or gethostbyaddr_r with a configured nsswitch.conf that specifies the library's DNS backend in the GNU C Library version 2.34 to version 2.43 could, with a crafted response from the configured DNS server, result in a violation of the DNS…

  • Medium 6.2

    Calling NSS-backed functions that support caching via nscd may call the nscd client side code and in the GNU C Library …

  • High 7.5

    wordexp with WRDE_REUSE and WRDE_APPEND may return uninitialized memory

    Calling wordexp with WRDE_REUSE in conjunction with WRDE_APPEND in the GNU C Library version 2.0 to version 2.42 may cause the interface to return uninitialized memory in the we_wordv member, which on subsequent calls to wordfree may abort the process.

  • High 7.5
    CVE-2026-0915 Public exploit

    getnetbyaddr and getnetbyaddr_r leak stack contents to DNS resovler

    Calling getnetbyaddr or getnetbyaddr_r with a configured nsswitch.conf that specifies the library's DNS backend for networks and queries for a zero-valued network in the GNU C Library version 2.0 to version 2.42 can leak stack contents to the configured DNS r…

  • High 8.4

    Integer overflow in memalign leads to heap corruption

    Passing too large an alignment to the memalign suite of functions (memalign, posix_memalign, aligned_alloc) in the GNU C Library version 2.30 to 2.42 may result in an integer overflow, which could consequently result in a heap corruption. Note that the attack…

  • Medium 5.9

    The regcomp function in the GNU C library version from 2.4 to 2.41 is subject to a double free if some previous allocat…

  • Medium 5.6

    The strncmp implementation optimized for the Power10 processor in the GNU C Library version 2.40 and later writes to ve…

  • Medium 5.6

    The strcmp implementation optimized for the Power10 processor in the GNU C Library version 2.39 and later writes to vec…

  • High 7.8
    CVE-2025-4802 Public exploit

    Untrusted LD_LIBRARY_PATH environment variable vulnerability in the GNU C Library version 2.27 to 2.38 allows attacker …

  • Medium 6.2

    When the assert() function in the GNU C Library versions 2.13 to 2.40 fails, it does not allocate enough space for the …

  • High 7.4

    nscd: netgroup cache assumes NSS callback uses in-buffer strings

    nscd: netgroup cache assumes NSS callback uses in-buffer strings The Name Service Cache Daemon's (nscd) netgroup cache can corrupt memory when the NSS callback does not store all strings in the provided buffer. The flaw was introduced in glibc 2.15 when the c…

  • High 7.3

    nscd: netgroup cache may terminate daemon on memory allocation failure

    nscd: netgroup cache may terminate daemon on memory allocation failure The Name Service Cache Daemon's (nscd) netgroup cache uses xmalloc or xrealloc and these functions may terminate the process due to a memory allocation failure resulting in a denial of ser…

  • Medium 5.9

    nscd: Null pointer crashes after notfound response

    nscd: Null pointer crashes after notfound response If the Name Service Cache Daemon's (nscd) cache fails to add a not-found netgroup response to the cache, the client request can result in a null pointer dereference. This flaw was introduced in glibc 2.15 whe…

  • High 8.1

    nscd: Stack-based buffer overflow in netgroup cache

    nscd: Stack-based buffer overflow in netgroup cache If the Name Service Cache Daemon's (nscd) fixed size cache is exhausted by client requests then a subsequent client request for netgroup data may result in a stack-based buffer overflow. This flaw was introd…

  • High 7.3
    CVE-2024-2961 Public exploit EPSS 88%

    The iconv() function in the GNU C Library versions 2.39 and older may overflow the output buffer passed to it by up to …