Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
3.7

CVE-2026-100290: glibc can crash during large regular expression handling

CVE-2026-100290 · published 6 days ago
Summary

The GNU C Library (glibc) versions 2.3 through 2.44 may stop working if it tries to process a very large pattern or text and runs out of memory. This can cause the affected program to terminate unexpectedly, which could disrupt services that rely on glibc. Update glibc to a newer release that includes the fix, or apply any vendor‑provided patches to prevent the crash.

What to do
  • Update bellsoft glibc to version 2.43.0-r14.
  • Update glibc to version 2.43.0-r14.
Affected software
Ecosystem VendorProductAffected versions
– the gnu c library glibc <= 2.44
Debian:12 debian glibc All versions
Ubuntu:Pro:14.04:LTS canonical eglibc All versions
Ubuntu:Pro:16.04:LTS canonical glibc All versions
Alpaquita:stream bellsoft glibc >= 2.37.0-r0, < 2.43.0-r14
Fix: upgrade to 2.43.0-r14
BellSoft Hardened Containers:stream – glibc >= 2.37.0-r0, < 2.43.0-r14
Fix: upgrade to 2.43.0-r14
Original advisory text
BELL-CVE-2026-100290
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 table) and build_range_exp (bracket ranges) grow several arrays with consecutive realloc calls and store the new pointers only after all of them succeed. When a later call fails, the pattern buffer keeps pointers to blocks that were already freed, and the error cleanup frees them again. In regexec, the back-reference cache (match_ctx_add_entry) frees its array when a realloc fails but keeps the pointer, which is freed again on the error path.

An attacker does not need to supply a crafted regular expression: patterns large enough to grow these arrays are common. The failure has to hit a specific allocation, though, so the issue can only be reached when the system is already under memory pressure. An attacker who supplies the pattern or the subject string has little control over which allocation fails, so the expected impact is a crash of the process. This issue affects all architectures and ABIs supported by the GNU C Library.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
3.7 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-415Double Free
Timeline
Published16 Nov 2026
Updated22 Nov 2026
First seen11 Nov 2026
Track software like this
Free during beta