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 | Vendor | Product | Affected 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.
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.
References
- https://sourceware.org/bugzilla/show_bug.cgi?id=31935 Third Party Advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=34991 Third Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-100290 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-100290 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-100290 Third Party Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-1002... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-100290 Vendor Advisory
- https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-... Vendor Advisory
- https://docs.bell-sw.com/security/cves/CVE-2026-100290 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-415Double Free
Timeline
Published16 Nov 2026
Updated22 Nov 2026
First seen11 Nov 2026
Sources
CVE-2026-100290 · NVD
CVE-2026-100290 · MITRE
DEBIAN-CVE-2026-100290 · OSV
CVE-2026-100290 · OSV
UBUNTU-CVE-2026-100290 · OSV
BELL-CVE-2026-100290 · OSV
Track software like this
Free during beta