{"schemaVersion":3,"id":"CVE-2018-1100","aliases":["SUSE-SU-2018:1037-1","UBUNTU-CVE-2018-1100","DEBIAN-CVE-2018-1100"],"status":"published","duplicateOf":null,"title":null,"description":"zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the utils.c:checkmailpath function. A local attacker could exploit this to execute arbitrary code in the context of another user.","dates":{"published":"2018-04-11T19:00:00.000Z","modified":"2024-08-05T03:51:48.499Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","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","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.00532,"percentile":0.44093,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00532},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00536,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00536,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00536,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00536,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00536,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00536,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00532,"percentile":0.44093}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00532,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00532,"percentile":0.44093}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"14.04","noFixRecorded":false,"fixedIn":null},{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"14.04 | 16.04 | 18.04","eol":{"isEol":true,"eolDate":"2019-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"14.04","label":"14.04 'Trusty Tahr' (LTS)","eolFrom":"2019-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"14.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"zsh","name":"zsh","label":"zsh","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/zsh","purlType":"deb","versions":[{"text":"< 5.5-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.5-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"zsh","name":"zsh","label":"zsh","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/zsh","purlType":"deb","versions":[{"text":"< 5.0.2-3ubuntu6.3","noFixRecorded":false,"fixedIn":null},{"text":"< 5.1.1-1ubuntu2.3","noFixRecorded":false,"fixedIn":null},{"text":"< 5.4.2-3ubuntu3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.2-3ubuntu6.3 | < 5.1.1-1ubuntu2.3 | < 5.4.2-3ubuntu3.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"enterprise_linux_desktop","name":"enterprise linux desktop","label":"enterprise_linux_desktop","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null},{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0 | 7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_server","name":"enterprise linux server","label":"enterprise_linux_server","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null},{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0 | 7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_workstation","name":"enterprise linux workstation","label":"enterprise_linux_workstation","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null},{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0 | 7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_workstation"},{"vendor":"suse","product":"zsh&distro=SUSE Linux Enterprise Server 11 SP4","name":"zsh","label":"zsh&distro=SUSE Linux Enterprise Server 11 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/zsh&distro=SUSE Linux Enterprise Server 11 SP4","purlType":"rpm","versions":[{"text":"< 4.3.6-67.9.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.3.6-67.9.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"zsh&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4","name":"zsh","label":"zsh&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/zsh&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4","purlType":"rpm","versions":[{"text":"< 4.3.6-67.9.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.3.6-67.9.3.1","eol":null,"hubHref":null},{"vendor":"zsh","product":"zsh","name":"zsh","label":"zsh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5.4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 5.4.2","eol":null,"hubHref":"/vendor/zsh/zsh"}],"affectedCount":9,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/","label":"sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/","hostname":"sourceforge.net","tags":["X Refsource CONFIRM","Patch"]},{"url":"https://usn.ubuntu.com/3764-1/","label":"usn.ubuntu.com/3764-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201805-10","label":"security.gentoo.org/glsa/201805-10","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1932","label":"access.redhat.com/errata/RHSA-2018:1932","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1563395","label":"bugzilla.redhat.com/show_bug.cgi?id=1563395","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3073","label":"access.redhat.com/errata/RHSA-2018:3073","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html","label":"lists.debian.org/debian-lts-announce/2020/12/msg00000.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20181037-1/","label":"www.suse.com/support/update/announcement/2018/suse-su-20181037-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1089030","label":"bugzilla.suse.com/1089030","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1100","label":"www.suse.com/security/cve/CVE-2018-1100","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2018-1100","label":"ubuntu.com/security/CVE-2018-1100","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=42607","label":"www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=42607","hostname":"www.zsh.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3764-1","label":"ubuntu.com/security/notices/USN-3764-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1100","label":"www.cve.org/CVERecord?id=CVE-2018-1100","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-1100","label":"security-tracker.debian.org/tracker/CVE-2018-1100","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2470-1","OPENSUSE-SU-2024:11543-1","RHSA-2018:1932","RHSA-2018:3073","SUSE-SU-2018:1874-1","SUSE-SU-2022:0733-1","USN-3764-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11543-1","SUSE-SU-2018:1874-1","SUSE-SU-2022:0733-1","USN-3764-1"]},"timeline":[{"kind":"published","date":"2018-04-11T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T03:51:48.499Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T11:26:33.547Z","stale":false,"partial":false}}