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.

PackageEcosystemFixed in
zshAlpine5.4.2-r1, 5.3.1-r1, 5.2-r4, 5.2-r2
zshzsh5.4.2

Affected products

VendorProductVersions
zshzsh5.4.2
alpinezsh0, 0, 0
zshzsh5.4.2
archzsh0
amazon:2zsh-html0
amazon:2zsh0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›