{"id":"CVE-2018-1000001","aliases":["CVE-2018-1000001"],"related":[],"kind":"vulnerability","state":"published","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 buffe…","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En glibc 2.26 y anteriores existe una confusión en el uso de getcwd() por realpath(), que puede emplearse para escribir antes del búfer de destino. Esto conduce a un subdesbordamiento de búfer y a una potencial ejecución de código.","source":"nvd"}],"published":"2018-01-31T14:00:00.000Z","modified":"2026-06-17T01:32:10.787Z","severity":{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","score":7.2,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.26"}],"vendor":"gnu","product":"glibc","cpe":"cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.04"},{"status":"affected","version":"14.04"},{"status":"affected","version":"16.04"},{"status":"affected","version":"17.10"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"4.0"}],"vendor":"redhat","product":"virtualization_host","cpe":"cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux_desktop","cpe":"cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux_server","cpe":"cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.6"}],"vendor":"redhat","product":"enterprise_linux_server_aus","cpe":"cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.6"}],"vendor":"redhat","product":"enterprise_linux_server_eus","cpe":"cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.6"}],"vendor":"redhat","product":"enterprise_linux_server_tus","cpe":"cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux_workstation","cpe":"cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"http://seclists.org/oss-sec/2018/q1/38","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://usn.ubuntu.com/3534-1/","tags":["third-party-advisory","vendor-advisory","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.securityfocus.com/bid/102525","tags":["third-party-advisory","vdb-entry","x-refsource-bid","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.exploit-db.com/exploits/44889/","tags":["exploit","third-party-advisory","vdb-entry","x-refsource-exploit-db","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.exploit-db.com/exploits/43775/","tags":["exploit","third-party-advisory","vdb-entry","x-refsource-exploit-db","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://usn.ubuntu.com/3536-1/","tags":["third-party-advisory","vendor-advisory","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0805","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.securitytracker.com/id/1040162","tags":["third-party-advisory","vdb-entry","x-refsource-sectrack","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20190404-0003/","tags":["x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2018-1000001","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000001","licence":"CVE Terms of Use","modified":"2024-08-05T12:33:48.490Z"},{"source":"nvd","name":"NVD","id":"CVE-2018-1000001","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000001","licence":"Public domain","modified":"2026-06-17T01:32:10.787Z"}],"updatedAt":"2026-11-25T22:57:36.542Z","epss":{"score":0.13368,"percentile":0.96507,"date":"2026-12-01T12:00:22.000Z"}}