{"id":"UBUNTU-CVE-2018-1071","details":"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.","modified":"2026-02-04T02:26:48.460850Z","published":"2018-03-09T00:00:00Z","related":["USN-3608-1"],"upstream":["CVE-2018-1071"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1071"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3608-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-1071"}],"affected":[{"package":{"name":"zsh","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/zsh@5.0.2-3ubuntu6.2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.2-3ubuntu6.2"}]}],"versions":["5.0.2-3ubuntu6","5.0.2-3ubuntu6.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"zsh","binary_version":"5.0.2-3ubuntu6.2"},{"binary_name":"zsh-beta","binary_version":"5.0.2-3ubuntu6.2"},{"binary_name":"zsh-common","binary_version":"5.0.2-3ubuntu6.2"},{"binary_name":"zsh-dev","binary_version":"5.0.2-3ubuntu6.2"},{"binary_name":"zsh-static","binary_version":"5.0.2-3ubuntu6.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1071.json"}},{"package":{"name":"zsh","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/zsh@5.1.1-1ubuntu2.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.1-1ubuntu2.2"}]}],"versions":["5.1.1-1ubuntu1","5.1.1-1ubuntu2","5.1.1-1ubuntu2.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"zsh","binary_version":"5.1.1-1ubuntu2.2"},{"binary_name":"zsh-common","binary_version":"5.1.1-1ubuntu2.2"},{"binary_name":"zsh-dev","binary_version":"5.1.1-1ubuntu2.2"},{"binary_name":"zsh-static","binary_version":"5.1.1-1ubuntu2.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1071.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}