CVE-2026-126765
Double free after allocation failure in glob
Description
The glob functions in the GNU C Library versions 2.44 and earlier may free the same heap block twice when a memory allocation fails while glob prepends the directory name to the names it matched. The names already rewritten are freed, but their pointers stay in the result vector, and the error path frees them again with globfree. The allocation must fail after at least one name has been rewritten, so the issue can only be reached when the process is already close to its memory limit, for example under an address space limit (RLIMIT_AS) or on a 32-bit system. The attacker needs control to make the result large enough to make the program or service run out of memory, either by controlling the glob pattern and having knowledge of the filesystem layout or through other means. This issue affects all architectures and ABIs supported by the GNU C Library.
INFO
Published Date :
Nov. 19, 2026, 6:05 p.m.
Last Modified :
Nov. 19, 2026, 6:05 p.m.
Remotely Exploit :
Yes !
Source :
glibc
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | LOW | 3ff69d7a-14f2-4f67-a097-88dee7810d18 | ||||
| CVSS 3.1 | LOW | MITRE-CVE |
Solution
- Update GNU C Library to a fixed version.
- Monitor memory usage closely.
- Limit process memory usage.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-126765 vulnerability anywhere in the article.