CVE-2026-126765
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-126765 NameCVE-2026-126765 DescriptionThe glob functions in the GNU C Library versions 2.44 and earlier may ... SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) Vulnerable and fixed packages The table below lists information on source packages. Source…
CVE-2026-126765
| Name | CVE-2026-126765 |
| Description | The glob functions in the GNU C Library versions 2.44 and earlier may ... |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| glibc (PTS) | bookworm | 2.36-9+deb12u14 | vulnerable |
| bookworm (security) | 2.36-9+deb12u7 | vulnerable | |
| trixie | 2.41-12+deb13u4 | vulnerable | |
| forky, sid | 2.43-7 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| glibc | source | (unstable) | (unfixed) |
Notes
https://www.openwall.com/lists/oss-security/2026/11/19/9
https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0032
Introduced with: https://sourceware.org/git/?p=glibc.git;a=commit;h=28f540f45bbacd939bfd07f213bcad2bf730b1bf
Apply commands
https://www.openwall.com/lists/oss-security/2026/11/19/9https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0032Introduced with: https://sourceware.org/git/?p=glibc.git;a=commit;h=28f540f45bbacd939bfd07f213bcad2bf730b1bf
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | glibc |
Affected | — |
| sid | glibc |
Fixed | 2.43-8 |
| forky | glibc |
Affected | — |
| bookworm | glibc |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gnu_c_library | glibc | {"endIncluding":"2.44"} | |
References
- https://sourceware.org/bugzilla/show_bug.cgi?id=34993
- https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0032
- https://sourceware.org/pipermail/libc-alpha/2026-November/182067.html
- http://www.openwall.com/lists/oss-security/2026/11/19/9
- https://security-tracker.debian.org/tracker/CVE-2026-126765
- https://www.suse.com/security/cve/CVE-2026-126765.html
CWEs
CWE-415
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.