glibc 2.44 and earlier can double-free in glob on allocation failure
Original title: The GNU C Library security advisories update for 2026-11-19
GLIBC-SA-2026-0032 says the error path frees rewritten name pointers still held in the result vector.
The GNU C Library published GLIBC-SA-2026-0032 on November 19. In versions 2.44 and earlier, glob may free the same heap block twice if a memory allocation fails while prepending a directory name to matched names. The provided text does not name a CVE or a fixed release.
Unconfirmed: The snippet is truncated and does not state exploitation status, a CVE, or a fixed version.
- The failure happens while glob prepends the directory name to matched names.
- Already rewritten names are freed, but their pointers remain in the result vector.
- The error path then frees those pointers again.
Impact: double free of a heap block in glob
| Product | Affected |
|---|---|
| GNU C Library | 2.44 and earlier |
- Vendors
- GNU
- Products
- GNU C Library
From the original article
Posted by Adhemerval Zanella Netto on Nov 19 The following security advisories have been published: GLIBC-SA-2026-0032: =================== Double free after allocation failure in glob 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.
seclists.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.