Back
CVE-2018-0502
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…
Critical9.8EPSS 2.5%
- Published
- Updated
- Reserved
- Assigned by
- debian
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.5% · top 15% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
- improper parsing
- CWE-20 (opens in a new tab)
Affected products
zsh before 5.6
- affected zsh before 5.6
References (6)
- https://bugs.debian.org/908000 (opens in a new tab)x_refsource_MISCx_transferred
- https://sourceforge.net/p/zsh/code/ci/1c4c7b6a4d17294df028322b70c53803a402233d (opens in a new tab)x_refsource_MISCx_transferred
- https://www.zsh.org/mla/zsh-announce/136 (opens in a new tab)x_refsource_MISCx_transferred
- USN-3764-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- GLSA-201903-02 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- [debian-lts-announce] 20201201 [SECURITY] [DLA 2470-1] zsh security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .