CVE-2018-1083Zsh
High 7.8
Follow: this CVE · Zsh · Zsh We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Zsh.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| zsh | zsh | ≤ 5.4.1 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 17.10 |
| debian | debian_linux | 7.0 |
| redhat | enterprise_linux_desktop | 6.0 |
| redhat | enterprise_linux_desktop | 7.0 |
| redhat | enterprise_linux_server | 6.0 |
| redhat | enterprise_linux_server | 7.0 |
| redhat | enterprise_linux_workstation | 6.0 |
| redhat | enterprise_linux_workstation | 7.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org
- security.gentoo.org Third Party Advisory
- sourceforge.net Patch Third Party Advisory
- usn.ubuntu.com Third Party Advisory