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 VendorProductAffected 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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
3.7 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-415Double Free
Timeline
Published19 Nov 2026
Updated2 Dec 2026
First seen19 Nov 2026
Track software like this
Free during beta