Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-100290 →
Unrated

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

UBUNTU-CVE-2026-100290 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:14.04:LTSeglibc
All versions→ Not listed
Ubuntu:Pro:16.04:LTSglibc
All versions→ Not listed
Ubuntu:Pro:18.04:LTSglibc
All versions→ Not listed
Ubuntu:Pro:20.04:LTSglibc
All versions→ Not listed
Ubuntu:22.04:LTSglibc
All versions→ Not listed
Ubuntu:24.04:LTSglibc
All versions→ Not listed
Ubuntu:26.10glibc
All versions→ Not listed
Ubuntu:26.04:LTSglibc
All versions→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details