Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.7
CVE-2026-126765: glibc can crash from double free under low memory
CVE-2026-126765 · published 13 days ago
Summary
The standard C library used by many Linux systems can try to release the same piece of memory twice when it runs out of memory while processing file name patterns. This can cause the program to stop working unexpectedly, especially on systems with limited memory or 32‑bit limits. Update the library to the latest version provided by your distribution to prevent the crash.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
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 |
Original advisory text
DEBIAN-CVE-2026-126765
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.
References
- https://sourceware.org/bugzilla/show_bug.cgi?id=34993 Third Party Advisory
- https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-... Third Party Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-1267... Vendor Advisory
- https://sourceware.org/pipermail/libc-alpha/2026-November/182067.html Third Party Advisory
- http://www.openwall.com/lists/oss-security/2026/11/19/9 Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-126765 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-126765 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-126765 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-126765 Third Party Advisory
- https://www.openwall.com/lists/oss-security/2026/11/19/9 Third Party 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
Published19 Nov 2026
Updated2 Dec 2026
First seen19 Nov 2026
Sources
CVE-2026-126765 · NVD
CVE-2026-126765 · MITRE
CVE-2026-126765 · OSV
DEBIAN-CVE-2026-126765 · OSV
UBUNTU-CVE-2026-126765 · OSV
Track software like this
Free during beta