{"id":"CVE-2018-1071","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the exec.c:hashcmd() function. A local atta…","description":"zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the exec.c:hashcmd() function. A local attacker could exploit this to cause a denial of service.","ai_summary":null,"severity":"medium","cvss":{"score":5.5,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"NVD"},"scores":[{"score":5.5,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd"},{"score":2.1,"version":"2.0","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","source":"nvd"}],"cwe":["CWE-121"],"remote":false,"remote_unauth":false,"epss":{"score":0.00428,"percentile":0.38914,"date":"2026-12-02"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"zsh","product":"zsh","versions":"5.4.2","source":"cvelist"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://usn.ubuntu.com/3608-1/","kind":"vendor"},{"url":"https://security.gentoo.org/glsa/201805-10","kind":"vendor"},{"url":"https://access.redhat.com/errata/RHSA-2018:3073","kind":"vendor"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1553531","kind":"other"},{"url":"http://www.securityfocus.com/bid/103359","kind":"other"},{"url":"https://lists.debian.org/debian-lts-announce/2018/03/msg00038.html","kind":"other"},{"url":"https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html","kind":"other"}],"workarounds":null,"vendors":["canonical","debian","redhat","zsh"],"products":["debian_linux","enterprise_linux_desktop","enterprise_linux_server","enterprise_linux_workstation","ubuntu_linux","zsh"],"cpes":["cpe:2.3:a:zsh:zsh:*:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"],"published_at":"2018-03-09T15:00:00.000Z","modified_at":"2026-06-17T01:50:25.093Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1071"}],"links":{"html":"https://flawdb.com/CVE-2018-1071","markdown":"https://flawdb.com/CVE-2018-1071.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-1071"}}