Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
3.7

CVE-2026-126765: Debian glibc can crash programs when memory runs out

CVE-2026-126765 · published 2 days ago
Summary

The standard C library used by Debian (glibc) can free the same memory block twice when a file‑matching operation runs out of memory, which may cause the program to stop working. This only happens when the system is already low on memory, such as on 32‑bit systems or when memory limits are set. Apply the latest Debian updates for glibc to prevent the issue.

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
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
Updated22 Nov 2026
First seen19 Nov 2026
Track software like this
Free during beta