CVE-2026-126765The GNU C Library glibc Double Free
NVDCVSS scored by 3ff69d7a-14f2-4f67-a097-88dee7810d18
Vulnerability Summary
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.
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.
CVSS v3.1 Base Metrics — Score 3.7 (LOW)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityLow
Affected & Patched Versions
- The GNU C Library glibc <= 2.44
- The GNU C Library glibc 2.44
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run The GNU C Library glibc and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new The GNU C Library glibc CVEsYou are reading CVE-2026-126765. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Issue Trackinghttps://sourceware.org/bugzilla/show_bug.cgi?id=34993
- Referencehttps://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0032
- Referencehttps://sourceware.org/pipermail/libc-alpha/2026-November/182067.html
- Advisoryhttp://www.openwall.com/lists/oss-security/2026/11/19/9
Data last checked: Nov 24, 2026 15:36 UTC