VDB
CVE-2018-0502
CVE-2018-0502
PUBLISHED
Reported by debian · Published September 5, 2018
An issue was discovered in zsh before 5.6. The beginning of a #! script file was mishandled, potentially leading to an execve call to a program named on the second line.
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-2.amzn2.0.1 |
| zsh | zsh | 5.6 |
| zsh | Ubuntu:14.04:LTS | 5.0.2-3ubuntu6.3 |
| zsh | Ubuntu:18.04:LTS | 5.4.2-3ubuntu3.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | zsh before 5.6 | zsh before 5.6 |
| n/a | zsh before 5.6 | 5.6 |
Timeline
- Sep 5, 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
- Mar 6, 2026 Security Advisory (3 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-0502
vulnetix vdb fixes CVE-2018-0502
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-0502/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- USN-3764-1 vendor-advisoryx_refsource_UBUNTU
- GLSA-201903-02 vendor-advisoryx_refsource_GENTOO
- [debian-lts-announce] 20201201 [SECURITY] [DLA 2470-1] zsh security update mailing-listx_refsource_MLIST