Read the docs

Double free after allocation failure in glibc glob

Priority LOW 18CWE-415Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 1 fixed, 7 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

The glob functions in the GNU C Library versions through 2.44 may free the same heap block twice when a memory allocation fails while glob prepends the directory name to matched names. This double free (CWE-415) can be triggered over the network when an attacker controls the glob pattern or result size and pushes the program close to its memory limit. Exploiting it requires high attack complexity and can cause a denial of service.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00443 30th percentileScored 2026-11-30
Fix Partial Red Hat: 1 advisoryRed Hat: 1 fixed, 7 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
GNUglibcup to 2.44—No fix listedCNA
  • glibc VendorGNU Affected up to 2.44 Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*——GNU
  • cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* Versions — — ·GNU

Remediation

The sources list no fixed version for glibc. Red Hat Hardened Images are fixed by RHSA-2026:103937. Red Hat lists no available plan for Red Hat Enterprise Linux 6, 7, 8, 9 and 10 or for Red Hat OpenShift Container Platform 4 and 5.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Red Hat 1 advisory

  • RHSA-2026:103937 Released 2026-11-26 · Red Hat rating Moderate
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images compat-libpthread-nonshared-2.43-9.5.hum1@aarch64, compat-libpthread-nonshared-2.43-9.5.hum1@s390x, compat-libpthread-nonshared-2.43-9.5.hum1@x86_64 +47

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 6AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 5AffectedNo fix yet: Fix deferred
Red Hat Hardened ImagesFixed RHSA-2026:103937
Not affected: 1 product
  • Red Hat Hardened Images

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-126765
  2. 2026-11-19 CISA SSVC decision points changed
  3. 2026-11-19 Alias added: GHSA-4rvq-wr96-324w
  4. 2026-11-20 Affected versions changed · Red Hat
  5. 2026-11-20 CVSS score added · Red Hat
  6. 2026-11-27 Fix available: RHSA-2026:103937 · Red Hat
  7. 2026-11-27 Fix available: Red Hat Hardened Images · Red Hat
  8. 2026-11-27 Affected versions changed · Red Hat

References

  • TI-2026-19388 Authentication bypass in GNU Inetutils telnetd via USER variable KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05975 GNU Bash environment variable parsing flaw lets attackers write files KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05157 Code execution in GNU Bash through crafted environment variables KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05164 Command injection in GNU Bash via crafted environment variables KEVCVSS 3.1HIGH 8.8
  • TI-2023-04522 Buffer overflow in glibc ld.so allows privilege escalation KEVCVSS 3.1HIGH 7.8
  • TI-2009-03392 The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft… CVSS 3.1CRITICAL 9.8
See all 1287 →

Sources