VDB
CVE-2018-1071
CVE-2018-1071
PUBLISHED
Reported by redhat · Published March 9, 2018
zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the exec.c:hashcmd() function. A local attacker could exploit this to cause a denial of service.
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 | Alpine | 5.4.2-r1, 5.3.1-r1, 5.2-r4, 5.2-r2 |
| zsh | zsh | 5.4.2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| zsh | zsh | 5.4.2 |
| alpine | zsh | 0, 0, 0 |
| zsh | zsh | 5.4.2 |
| arch | zsh | 0 |
| amazon:2 | zsh-html | 0 |
| amazon:2 | zsh | 0 |
Timeline
- Mar 9, 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 (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (4 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-1071
vulnetix vdb fixes CVE-2018-1071
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-1071/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- USN-3608-1 vendor-advisoryx_refsource_UBUNTU
- 103359 vdb-entryx_refsource_BID
- GLSA-201805-10 vendor-advisoryx_refsource_GENTOO
- [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