---
title: "CVE-2018-0502: zsh before 5.6 Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2018-0502: zsh before 5.6 Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2018-0502 is a published software vulnerability affecting zsh before 5.6. Published September 5, 2018 by debian. 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.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2018-0502
- Status: Published
- Affected vendor: Multiple or unspecified
- Affected product: zsh before 5.6
- Assigner CNA: debian
- Published date: September 5, 2018
- Last updated: August 5, 2024

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [General dentistry practices in the United States](https://specstream.ai/data/businesses/general-dentistry-practices/united-states)
- [Auto customization shops in the United States](https://specstream.ai/data/businesses/auto-customization-shops/united-states)
- [Paralegal companies in the United States](https://specstream.ai/data/businesses/paralegal-companies/united-states)
- [Ecuadorian restaurants in the United States](https://specstream.ai/data/businesses/ecuadorian-restaurants/united-states)
- [Vegan restaurants in the United States](https://specstream.ai/data/businesses/vegan-restaurants/united-states)
- [Lodges in the United States](https://specstream.ai/data/businesses/lodges/united-states)
