CVE-2026-126765: Double free after allocation failure in glob
Vulnerability summary
CVE-2026-126765 is a low (CVSS 3.7) Double Free vulnerability in the gnu c library glibc. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 40.9% of scored vulnerabilities.
Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 19-11-2026PublishedVulnerability first disclosed.
- 19-11-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · WolfiEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.45%
Chance of exploitation in the next 30 days
Percentile
41%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard56 products
- glibc-2.43All versions (No fix recorded)
- glibc-2.43-abi-reportAll versions (No fix recorded)
- glibc-2.43-devAll versions (No fix recorded)
- glibc-2.43-iconvAll versions (No fix recorded)
- glibc-2.43-iconv-commonAll versions (No fix recorded)
Wolfi56 products
- glibc-2.43All versions (No fix recorded)
- glibc-2.43-abi-reportAll versions (No fix recorded)
- glibc-2.43-devAll versions (No fix recorded)
- glibc-2.43-iconvAll versions (No fix recorded)
- glibc-2.43-iconv-commonAll versions (No fix recorded)
Ubuntu2 products
- eglibcAll versions (No fix recorded)
- glibcAll versions (No fix recorded)
Debian1 product
- glibcAll versions (No fix recorded)
The gnu c library1 product
- glibc≤ 2.44
5 vendors · 116 products
References
10 links- sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0032Vendor AdvisoryREPORTAdvisory