CVE-2026-126765
LOW 3.7CVSS 3.1Double free after allocation failure in glob
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.
- Published
- 19 Nov 2026
- Last modified
- 23 Nov 2026
- Assigned by
- 3ff69d7a-14f2-4f67-a097-88dee7810d18
- NVD status
- Awaiting Analysis
- Weakness
- CWE-415
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 3ff69d7a-14f2-4f67-a097-88dee7810d18 (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CVE List | glibc | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | The GNU C Library | glibc | <= 2.44 |
References
- https://sourceware.org/bugzilla/show_bug.cgi?id=34993 · issue-tracking
- https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0032 · vendor-advisory
- https://sourceware.org/pipermail/libc-alpha/2026-November/182067.html · mailing-list, patch
- http://www.openwall.com/lists/oss-security/2026/11/19/9
History
- 25 Nov 2026 20:31 UTC · CVE List: first stored (published 19 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 19 Nov 2026)