CVE-2017-18205Zsh Project Zsh
High 8.1 No auth needed
Follow: this CVE · Zsh Project · Zsh Project Zsh We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.0
- 8.1
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 82
- Auth required
- No
- Published
- Feb 27, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-476
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
In builtin.c in zsh before 5.4, when sh compatibility mode is used, there is a NULL pointer dereference during processing of the cd command with no argument if HOME is not set.
What to do
- Apply the vendor's security update for Zsh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| zsh_project | zsh | < 5.4 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com
- security.gentoo.org
- sourceforge.net Patch Third Party Advisory
- usn.ubuntu.com