CVE-2018-1071

MEDIUM

zsh <= 5.4.2 - Stack-based Buffer Overflow in hashcmd()

Title source: llm
STIX 2.1

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.

References (7)

Core 7
Core References
Issue Tracking, Third Party Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=1553531
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3608-1/
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/103359
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201805-10
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/03/msg00038.html
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:3073
Mailing List mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html

Scores

CVSS v3 5.5
EPSS 0.0004
EPSS Percentile 12.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-121 CWE-787
Status published
Products (8)
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 17.10
debian/debian_linux 7.0
redhat/enterprise_linux_desktop 7.0
redhat/enterprise_linux_server 7.0
redhat/enterprise_linux_workstation 7.0
zsh/zsh < 5.4.2
Published Mar 09, 2018
Tracked Since Feb 18, 2026