CVE-2018-1083
Reported by redhat · Published March 28, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| zsh | Amazon Linux | 5.5.1-1.amzn2 |
| zsh | Alpine | 5.4.2-r1, 5.3.1-r1, 5.2-r4, 5.2-r2 |
| zsh | zsh | 5.4.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| zsh | zsh | before zsh 5.4.2-test-1 |
| amazon:2 | zsh | 0 |
| alpine | zsh | 0, 0, 0 |
| zsh | zsh | 5.4.2-test-1 |
| amazon:2 | zsh-html | 0 |
Timeline
- Mar 26, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (5 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-1083
vulnetix vdb fixes CVE-2018-1083
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1083/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3608-1 vendor-advisoryx_refsource_UBUNTU
- 103572 vdb-entryx_refsource_BID
- GLSA-201805-10 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM
- RHSA-2018:1932 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- [debian-lts-announce] 20180331 [SECURITY] [DLA 1335-1] zsh security update mailing-listx_refsource_MLIST
- RHSA-2018:3073 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20201201 [SECURITY] [DLA 2470-1] zsh security update mailing-listx_refsource_MLIST