CVE-2018-1071
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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 0.42% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 36.7% of scored records. A rank, not a probability.
- NVD base score
- 5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-03-09 15:00Z8 YR AGO
- Last updated
- 2024-08-05 03:51Z2 YR AGO
- Reserved
- 2017-12-04
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- fbc580422a1aa3e86572fd31728202340e37d232a26ea5a9975b36645f2d194a
05 Affected products
06 References
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=1553531
- usn.ubuntu.comUSN-3608-1https://usn.ubuntu.com/3608-1/
- www.securityfocus.com103359http://www.securityfocus.com/bid/103359
- security.gentoo.orgGLSA-201805-10https://security.gentoo.org/glsa/201805-10
- lists.debian.org[debian-lts-announce] 20180331 [SECURITY] [DLA 1335-1] zsh security updatehttps://lists.debian.org/debian-lts-announce/2018/03/msg00038.html
- access.redhat.comRHSA-2018:3073https://access.redhat.com/errata/RHSA-2018:3073
- lists.debian.org[debian-lts-announce] 20201201 [SECURITY] [DLA 2470-1] zsh security updatehttps://lists.debian.org/debian-lts-announce/2020/12/msg00000.html
07 Fixed in
Arch Linux
- zsh Fixed in 5.5-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- zsh Fixed in 5.4.2-4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- zsh Fixed in 5.4.2-4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- zsh Fixed in 5.4.2-4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- zsh Fixed in 5.0.2-3ubuntu6.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- zsh Fixed in 5.1.1-1ubuntu2.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.