CVE-2018-0502

zsh: Improper parsing of the shebang line with special chars

Published Sep 5, 2018 CVSS 3.0 · 9.8 Critical EPSS 2.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2470-1 zsh security update
EUVD EUVD EUVD-2018-1324 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.
Ubuntu USN Ubuntu USN USN-3764-1 Zsh vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
debian
Published
Updated
Aug 5, 2024, 3:28 AM
Reserved
Nov 27, 2017, 12:00 AM
Status
Modified
Published
Sep 5, 2018, 8:29 AM
Modified
Jun 17, 2026, 1:31 AM
Severity
Public date
Sep 4, 2018, 12:00 AM