VDB

CVE-2018-1083

CVE-2018-1083 PUBLISHED

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.

PackageEcosystemFixed in
zshAmazon Linux5.5.1-1.amzn2
zshAlpine5.4.2-r1, 5.3.1-r1, 5.2-r4, 5.2-r2
zshzsh5.4.1

Affected products

VendorProductVersions
zshzshbefore zsh 5.4.2-test-1
amazon:2zsh0
alpinezsh0, 0, 0
zshzsh5.4.2-test-1
amazon:2zsh-html0

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

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