Live threats

All CVEs / Zsh

CVE-2018-1083Zsh

High 7.8

Priority
47
CVSS 3.0
7.8
EPSS
0.6%
probability of exploitation in 30 days · percentile 42
Auth required
Yes
Published
Mar 28, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-120, CWE-119
Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

Zsh before version 5.4.2-test-1 is vulnerable to a buffer overflow in the shell autocomplete functionality. A local unprivileged user can create a specially crafted directory path which leads to code execution in the context of the user who tries to use autocomplete to traverse the before mentioned path. If the user affected is privileged, this leads to privilege escalation.

Original NVD text.

What to do

  1. Apply the vendor's security update for Zsh.

Affected products (CPE)

VendorProductVersions
zshzsh≤ 5.4.1
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.10
debiandebian_linux7.0
redhatenterprise_linux_desktop6.0
redhatenterprise_linux_desktop7.0
redhatenterprise_linux_server6.0
redhatenterprise_linux_server7.0
redhatenterprise_linux_workstation6.0
redhatenterprise_linux_workstation7.0

Official sources

References

Links published by the sources. Open them with care.