nday
CVE-2026-126765

Double free after allocation failure in glob

The GNU C Library / glibc

Technical analysis appeared on the day of disclosure. nday has no fix record for it yet; that does not mean no patch exists. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

double free
CWE-415, stated by the CNA glibc and NVD, republishing 3ff69d7a-14f2-4f67-a097-88dee7810d18
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L (CVSS 3.1) from the CNA glibc
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L (CVSS 3.1) from the CNA glibc
no authentication required
PR:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L (CVSS 3.1) from the CNA glibc
no user interaction
UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L (CVSS 3.1) from the CNA glibc
glibc
affected products in the CVE record: The GNU C Library · glibc
open-source library / framework
affected products in the CVE record: The GNU C Library · glibcthe product type of glibc in nday's product registry
stage
ANA
disclosed
cvss
3.7 LOW v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-19T18:05Z
PATpatch
no record yet
ANAanalysis
11-19T18:03Z
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

CVSS 3.1 vector from the CVE record, scored by the CNA glibc.

Event log

+ANAtechnical analysis

Posted to the oss-security mailing list: “The GNU C Library security advisories update for 2026-11-19”.

src osssec 2026/q4/790 · nday , bulk import · raw
{
  "id": 495051,
  "type": "analysis_published",
  "source": "osssec",
  "url": "https://seclists.org/oss-sec/2026/q4/790",
  "occurred_at": "2026-11-19T18:03:46Z",
  "observed_at": "2026-11-20T07:53:26.77661Z",
  "is_backfill": true,
  "dedupe_key": "2026/q4/790",
  "detail": {
    "list": "oss-security",
    "author": "Adhemerval Zanella Netto",
    "subject": "The GNU C Library security advisories update for 2026-11-19",
    "is_reply": false
  }
}
+DISdisclosed

CVE record published by glibc. CVSS 3.7, low.

src cvelist · nday , observed live · raw
{
  "id": 487692,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-126765",
  "occurred_at": "2026-11-19T18:05:28.463Z",
  "observed_at": "2026-11-19T19:04:12.558655Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "version": "3.1",
      "base_score": 3.7,
      "base_severity": "LOW"
    },
    "ssvc": {
      "timestamp": "2026-11-19T20:58:55.375542Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-19T18:05:28.463Z",
    "assigner_short_name": "glibc"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.