
CVE catalog
CVE-2018-1083
zsh: CVE-2018-1083
- Severity
- High · CVSS 7.5
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.59% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | zsh | sid | 5.9.2-1 | fixed |
| Debian | zsh | forky | 5.9.2-1 | fixed |
| Debian | zsh | trixie | 5.9-8 | fixed |
| Debian | zsh | bookworm | 5.9-4 | fixed |
| Alpine | zsh | 3.10 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.11 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.12 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.13 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.14 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.15 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.16 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.17 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.18 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.19 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.20 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.21 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.22 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.23 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.24 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.4 | 5.2-r2 | fixed |
| Alpine | zsh | 3.5 | 5.2-r4 | fixed |
| Alpine | zsh | 3.6 | 5.3.1-r1 | fixed |
| Alpine | zsh | 3.7 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.8 | 5.4.2-r1 | fixed |
| Alpine | zsh | 3.9 | 5.4.2-r1 | fixed |
| Ubuntu | zsh | 14.04 | 5.0.2-3ubuntu6 | vulnerable |
| Ubuntu | zsh | 14.04 | 5.0.2-3ubuntu6.1 | vulnerable |
| Ubuntu | zsh | 14.04 | 5.0.2-3ubuntu6.2 | fixed |
| Ubuntu | zsh | 16.04 | 5.1.1-1ubuntu1 | vulnerable |
| Ubuntu | zsh | 16.04 | 5.1.1-1ubuntu2 | vulnerable |
| Ubuntu | zsh | 16.04 | 5.1.1-1ubuntu2.1 | vulnerable |
| Ubuntu | zsh | 16.04 | 5.1.1-1ubuntu2.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | zsh | source | sid | 5.4.2-4 | low | Not reported | [894043] |
| Debian | zsh | source | forky | 5.4.2-4 | low | Not reported | [894043] |
| Debian | zsh | source | trixie | 5.4.2-4 | low | Not reported | [894043] |
| Debian | zsh | source | bookworm | 5.4.2-4 | low | Not reported | [894043] |
| Alpine | zsh | apk | 3.10 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.11 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.12 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.13 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.14 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.15 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.16 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.17 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.18 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.19 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.20 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.21 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.22 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.23 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.24 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.4 | 5.2-r2 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.5 | 5.2-r4 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.6 | 5.3.1-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.7 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.8 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Alpine | zsh | apk | 3.9 | 5.4.2-r1 | Not reported | ALPINE-CVE-2018-1083 | Not reported |
| Ubuntu | zsh | deb | 14.04 | 5.0.2-3ubuntu6.2 | Not reported | UBUNTU-CVE-2018-1083 | Not reported |
| Ubuntu | zsh | deb | 16.04 | 5.1.1-1ubuntu2.2 | Not reported | UBUNTU-CVE-2018-1083 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [zsh]Fixed
Source package: [zsh]
Details (2)
5.9-4+b15· amd64 · bookwormFixed · Fixed:
5.4.2-4dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4+b15· arm64 · bookwormFixed · Fixed:
5.4.2-4dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-common]Fixed
Source package: [zsh]
Details (2)
5.9-4· all · bookwormFixed · Fixed:
5.4.2-4dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4· all · bookwormFixed · Fixed:
5.4.2-4dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-dev]Fixed
Source package: [zsh]
Details (2)
5.9-4+b15· amd64 · bookwormFixed · Fixed:
5.4.2-4dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4+b15· arm64 · bookwormFixed · Fixed:
5.4.2-4dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-doc]Fixed
Source package: [zsh]
Details (2)
5.9-4· all · bookwormFixed · Fixed:
5.4.2-4dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4· all · bookwormFixed · Fixed:
5.4.2-4dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-static]Fixed
Source package: [zsh]
Details (2)
5.9-4+b15· amd64 · bookwormFixed · Fixed:
5.4.2-4dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4+b15· arm64 · bookwormFixed · Fixed:
5.4.2-4dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
[Debian 13 (Trixie)]
- [zsh]Fixed
Source package: [zsh]
Details (2)
5.9-8+b23· amd64 · trixieFixed · Fixed:
5.4.2-4dsa · zsh · debian · 13
5.9-8+b23· arm64 · trixieFixed · Fixed:
5.4.2-4dsa · zsh · debian · 13
- [zsh-common]Fixed
Source package: [zsh]
Details (2)
5.9-8· all · trixieFixed · Fixed:
5.4.2-4dsa · zsh · debian · 13
5.9-8· all · trixieFixed · Fixed:
5.4.2-4dsa · zsh · debian · 13
- [zsh-dev]Fixed
Source package: [zsh]
Details (2)
5.9-8+b23· amd64 · trixieFixed · Fixed:
5.4.2-4dsa · zsh · debian · 13
5.9-8+b23· arm64 · trixieFixed · Fixed:
5.4.2-4dsa · zsh · debian · 13
- [zsh-doc]Fixed
Source package: [zsh]
Details (2)
5.9-8· all · trixieFixed · Fixed:
5.4.2-4dsa · zsh · debian · 13
5.9-8· all · trixieFixed · Fixed:
5.4.2-4dsa · zsh · debian · 13
- [zsh-static]Fixed
Source package: [zsh]
Details (2)
5.9-8+b23· amd64 · trixieFixed · Fixed:
5.4.2-4dsa · zsh · debian · 13
5.9-8+b23· arm64 · trixieFixed · Fixed:
5.4.2-4dsa · zsh · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2018_3073.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2018-1083]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-1083]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-1083]
- [https://security-tracker.debian.org/tracker/CVE-2018-1083]
- [https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-1083.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]