nday
CVE-2018-1000001

glibc: buffer overflow / out-of-bounds writeTitle composed by nday; the CVE record has none.

A public PoC appeared 15 days before the CVE record was published. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: exploitdb and metasploit. 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.

local
AV:L in CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
no user interaction
UI:N in CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
Metasploit
Metasploit modules exploit/linux/local/glibc_realpath_priv_esc
Exploit-DB
Exploit-DB entries 43775, 44889
glibc
CPE names NVD's analysts give as vulnerable: a:gnu:glibc
open-source library / framework
CPE names NVD's analysts give as vulnerable: a:gnu:glibcthe product type of glibc in nday's product registry
stage
POC
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2018-01-31T14:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2018-01-16, date only +1 more
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

In glibc 2.26 and earlier there is confusion in the usage of getcwd() by realpath() which can be used to write before the destination buffer leading to a buffer underflow and potential code execution.

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

Event log

2018-01-16date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “glibc < 2.26 - 'getcwd()' Local Privilege Escalation” (EDB-43775). Verified by Exploit-DB.

src exploitdb 43775 · nday , bulk import · raw
{
  "id": 23957,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/43775",
  "occurred_at": "2018-01-16T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "43775",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/43775",
    "file": "exploits/linux/local/43775.c",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "glibc < 2.26 - 'getcwd()' Local Privilege Escalation",
    "author": "halfdog",
    "edb_id": 43775,
    "cve_ids": [
      "CVE-2018-1000001"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2018-01-18",
    "date_updated": "2018-11-17",
    "date_published": "2018-01-16"
  }
}
+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 65671,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2018-1000001",
  "occurred_at": "2018-01-31T14:00:00Z",
  "observed_at": "2026-11-12T23:01:25.305088Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2018-01-31T14:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2018-06-13date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “glibc - 'realpath()' Privilege Escalation (Metasploit)” (EDB-44889). Verified by Exploit-DB.

src exploitdb 44889 · nday , bulk import · raw
{
  "id": 23953,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/44889",
  "occurred_at": "2018-06-13T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "44889",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/44889",
    "file": "exploits/linux/local/44889.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)",
      "Local"
    ],
    "type": "local",
    "title": "glibc - 'realpath()' Privilege Escalation (Metasploit)",
    "author": "Metasploit",
    "edb_id": 44889,
    "cve_ids": [
      "CVE-2018-1000001"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2018-06-13",
    "date_updated": "2018-06-13",
    "date_published": "2018-06-13"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/linux/local/glibc_realpath_priv_esc (glibc 'realpath()' Privilege Escalation). The source gives no release time for the module.

src metasploit exploit/linux/local/glibc_realpath_priv_esc · nday , bulk import · raw
{
  "id": 50869,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/glibc_realpath_priv_esc.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/linux/local/glibc_realpath_priv_esc",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/glibc_realpath_priv_esc.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/linux/local/glibc_realpath_priv_esc.rb",
    "rank": 300,
    "check": true,
    "title": "glibc 'realpath()' Privilege Escalation",
    "cve_ids": [
      "CVE-2018-1000001"
    ],
    "fullname": "exploit/linux/local/glibc_realpath_priv_esc",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-05-14 11:43:36 +0000",
    "vuln_disclosure_date": "2018-01-16"
  }
}

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.