{"id":"CVE-2018-1000001","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-1000001","generatedAt":"2026-10-28T19:19:37.104Z","title":"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.","description":"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.","published":"2018-01-31T14:29:01.000Z","lastModified":"2026-06-17T01:32:11.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":7.8,"severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-787"],"affected":["gnu/glibc","canonical/ubuntu linux","redhat/virtualization host","redhat/enterprise linux desktop","redhat/enterprise linux server","redhat/enterprise linux server aus","redhat/enterprise linux server eus","redhat/enterprise linux server tus","redhat/enterprise linux workstation"],"epss":{"score":0.13368,"percentile":0.96397,"date":"2026-10-27","history":[{"date":"2026-09-21","score":0.28404,"percentile":0.98087},{"date":"2026-09-22","score":0.13368,"percentile":0.96239}]},"kev":{"listed":false},"exploits":{"count":2,"verified":true,"firstPublished":"2018-01-16","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":44889,"kind":"exploit","title":"glibc - 'realpath()' Privilege Escalation (Metasploit)","url":"https://www.exploit-db.com/exploits/44889","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/44889.rb","file":"exploits/linux/local/44889.rb","published":"2018-06-13","added":"2018-06-13","updated":"2018-06-13","author":"Metasploit","type":"local","platform":"linux","port":null,"verified":true,"codes":["CVE-2018-1000001"],"tags":"Local","aliases":"RationalLove","applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://raw.githubusercontent.com/rapid7/metasploit-framework/29f4870fa0f916e31300d1bc78aeabeb297c667f/modules/exploits/linux/local/glibc_realpath_priv_esc.rb"},{"edbId":43775,"kind":"exploit","title":"glibc < 2.26 - 'getcwd()' Local Privilege Escalation","url":"https://www.exploit-db.com/exploits/43775","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/43775.c","file":"exploits/linux/local/43775.c","published":"2018-01-16","added":"2018-01-18","updated":"2018-11-17","author":"halfdog","type":"local","platform":"linux","port":null,"verified":true,"codes":["CVE-2018-1000001"],"tags":null,"aliases":"RationalLove.c","applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/RationalLove.c"}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 13.4%, higher than 96% of all known CVEs. Patch or mitigate before the next change window."},"changes":[{"kind":"epss","label":"EPSS jump","at":"2026-09-21T00:00:00.000Z","detail":{"to":0.28404,"from":0.13368,"percentile":0.98087},"summary":"EPSS moved from 13.4% to 28.4% probability of exploitation in the next thirty days."}],"references":[{"url":"http://seclists.org/oss-sec/2018/q1/38","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/102525","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id/1040162","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2018:0805","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://security.netapp.com/advisory/ntap-20190404-0003/","source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/3534-1/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/3536-1/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/43775/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/44889/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://seclists.org/oss-sec/2018/q1/38","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/102525","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id/1040162","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2018:0805","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20190404-0003/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3534-1/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3536-1/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/43775/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/44889/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000001","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}