CVE-2018-0502
zsh: Improper parsing of the shebang line with special chars
Severity
UnknownRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · September 4, 2018
Updated · November 22, 2025
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.
Statement
Red Hat Product Security determined that this flaw was not a security vulnerability. See the Bugzilla link for more details.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 5.3CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
CWE-20 · Improper Input Validation