{"id":"CVE-2018-1000001","published":"2018-01-31T14:00:00Z","modified":"2024-08-05T12:33:48Z","title":"In glibc 2.26 and earlier there is confusion in the usage of getcwd() by realpath() which can be used to write before…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is in glibc, the GNU C library, versions 2.26 and earlier, where realpath() misuses getcwd(), causing it to write before the destination buffer.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-01T13:55:22Z"},"cvss":null,"epss":{"score":0.13368,"percentile":0.96417,"date":"2026-11-01","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2022-01-26","exploitedFirstSeen":"2022-01-26","ransomware":false,"evidence":[{"url":"https://www.ic3.gov/Media/News/2022/220126.pdf","date":"2022-01-26"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":5,"pulses":[{"name":"Spam “Broken Seal” DocuSign-themed Delivery w/Fileless Process Hollowing (Zeppelin/Bloat-A) by msudosos","url":"https://otx.alienvault.com/pulse/69bf64eccb5d39a90a3c391e","created":"2026-03-22"},{"name":"Spam “Broken Seal” DocuSign-themed Delivery w/Fileless Process Hollowing (Zeppelin/Bloat-A) by msudosos","url":"https://otx.alienvault.com/pulse/69bf64e1d5e06aa6207f78de","created":"2026-03-22"},{"name":"“Broken Seal” DocuSign-themed Delivery with Fileless Process Hollowing (Zeppelin/Bloat-A)","url":"https://otx.alienvault.com/pulse/698e93e1ab02db8c49e8c3ed","created":"2026-02-13"},{"name":"Thor Lite Scanner - Cigabuntu (Parrot Version) vs. The Book of Shadows","url":"https://otx.alienvault.com/pulse/666ac558d08da6cfb3ba135b","created":"2024-06-13"},{"name":"Thor-Lite Linux 64 (06.11.24) - enriched a bit more but not 'pruned'","url":"https://otx.alienvault.com/pulse/6668b85065eec626e4766a38","created":"2024-06-11"}],"provenance":"machine"},"cwes":[],"references":[{"url":"http://seclists.org/oss-sec/2018/q1/38","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/3534-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/102525","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.exploit-db.com/exploits/44889/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://www.exploit-db.com/exploits/43775/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://usn.ubuntu.com/3536-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0805","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securitytracker.com/id/1040162","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://security.netapp.com/advisory/ntap-20190404-0003/","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2018-1773","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-1773","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":43775,"url":"https://www.exploit-db.com/exploits/43775","title":"glibc < 2.26 - 'getcwd()' Local Privilege Escalation","type":"local","platform":"linux","date":"2018-01-16","verified":true,"provenance":"source"},{"id":44889,"url":"https://www.exploit-db.com/exploits/44889","title":"glibc - 'realpath()' Privilege Escalation (Metasploit)","type":"local","platform":"linux","date":"2018-06-13","verified":true,"provenance":"source"},{"id":44889,"url":"https://www.exploit-db.com/exploits/44889","title":"glibc - 'realpath()' Privilege Escalation (Metasploit)","type":"local","platform":"linux","date":"2018-06-13","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":3,"earliest":"2018-01-16"},"pocGithub":{"count":2,"skipped":0,"earliest":"2018-02-07","earliestUrl":"https://github.com/0x00-0x00/CVE-2018-1000001","repos":[{"name":"0x00-0x00/CVE-2018-1000001","url":"https://github.com/0x00-0x00/CVE-2018-1000001","stars":31,"created":"2018-02-07"},{"name":"usernameid0/tools-for-CVE-2018-1000001","url":"https://github.com/usernameid0/tools-for-CVE-2018-1000001","stars":0,"created":"2022-03-01"}]},"metasploit":[{"name":"glibc 'realpath()' Privilege Escalation","module":"exploit/linux/local/glibc_realpath_priv_esc","type":"exploit","disclosureDate":"2018-01-16","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/glibc_realpath_priv_esc.rb"}],"first":{"date":"2018-01-16","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/43775"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/44889/","https://www.exploit-db.com/exploits/43775/"],"flow":[],"timeline":[{"date":"2018-01-16","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-43775); later: Metasploit 2018-01-16, PoC-in-GitHub 2018-02-07","url":"https://www.exploit-db.com/exploits/43775","provenance":"source"},{"date":"2018-01-31","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000001","provenance":"source"},{"date":"2022-01-26","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.ic3.gov/Media/News/2022/220126.pdf","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":61.0,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1740 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.28,"detail":"percentile 0.9642"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 NVD references tagged Exploit; 3 Exploit-DB entries; 2 PoC-in-GitHub repos; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":1.77,"detail":"5 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}