Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2018-13259

published

zsh: Improper handling of shebang line longer than 64

Title from Red Hat VEX

Published
05 Sep 2018, 07:00:00 UTC
Updated
05 Aug 2024, 09:00:34 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — zsh before 5.6zsh before 5.6 Affected Not stated debian
Amazon Linux AL2 Release evaluationALAS2-2018-1089 Fixed Not stated Amazon Linux assessment
Debian stretch zsh Advisory build 5.3.1-4+deb9u1 DLA-2470-1
Oracle Linux 7 zshaarch64 Advisory build 0:5.0.2-33.el7 ELSA-2019-2017
Red Hat Enterprise Linux RHEL-7 zshppc64 Advisory build 5.0.2-33.el7 RHSA-2019:2017
SUSE / openSUSE SLE-11-SP3 zshi586 Advisory build 4.3.6-67.9.8.1 SUSE-SU-2022:14910-1
Ubuntu bionic zsh Advisory build 5.4.2-3ubuntu3.1 USN-3764-1
Amazon Linux AL2 zshi686 Listed in advisory Not stated ALAS2-2018-1089
Show 56 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 7 zshx86_64 Advisory build 0:5.0.2-33.el7 ELSA-2019-2017
Oracle Linux 7 zsh-htmlaarch64 Advisory build 0:5.0.2-33.el7 ELSA-2019-2017
Oracle Linux 7 zsh-htmlx86_64 Advisory build 0:5.0.2-33.el7 ELSA-2019-2017
Red Hat Enterprise Linux RHEL-7 zshppc64le Advisory build 5.0.2-33.el7 RHSA-2019:2017
Red Hat Enterprise Linux RHEL-7 zshs390x Advisory build 5.0.2-33.el7 RHSA-2019:2017
Red Hat Enterprise Linux RHEL-7 zshsrc Advisory build 5.0.2-33.el7 RHSA-2019:2017
Red Hat Enterprise Linux RHEL-7 zshx86_64 Advisory build 5.0.2-33.el7 RHSA-2019:2017
Red Hat Enterprise Linux RHEL-7 zsh-debuginfoppc64 Advisory build 5.0.2-33.el7 RHSA-2019:2017
Red Hat Enterprise Linux RHEL-7 zsh-debuginfoppc64le Advisory build 5.0.2-33.el7 RHSA-2019:2017
Red Hat Enterprise Linux RHEL-7 zsh-debuginfos390x Advisory build 5.0.2-33.el7 RHSA-2019:2017
Red Hat Enterprise Linux RHEL-7 zsh-debuginfox86_64 Advisory build 5.0.2-33.el7 RHSA-2019:2017
Red Hat Enterprise Linux RHEL-7 zsh-htmlppc64 Advisory build 5.0.2-33.el7 RHSA-2019:2017
Red Hat Enterprise Linux RHEL-7 zsh-htmlppc64le Advisory build 5.0.2-33.el7 RHSA-2019:2017
Red Hat Enterprise Linux RHEL-7 zsh-htmls390x Advisory build 5.0.2-33.el7 RHSA-2019:2017
Red Hat Enterprise Linux RHEL-7 zsh-htmlx86_64 Advisory build 5.0.2-33.el7 RHSA-2019:2017
SUSE / openSUSE SLE-11-SP4 zshi586 Advisory build 4.3.6-67.9.8.1 SUSE-SU-2022:14910-1
SUSE / openSUSE SLE-11-SP4 zshppc64 Advisory build 4.3.6-67.9.8.1 SUSE-SU-2022:14910-1
SUSE / openSUSE SLE-11-SP4 zshs390x Advisory build 4.3.6-67.9.8.1 SUSE-SU-2022:14910-1
SUSE / openSUSE SLE-11-SP4 zshx86_64 Advisory build 4.3.6-67.9.8.1 SUSE-SU-2022:14910-1
SUSE / openSUSE SLE-12-SP2 zshx86_64 Advisory build 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE / openSUSE SLE-12-SP3 zshaarch64 Advisory build 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE / openSUSE SLE-12-SP3 zshppc64le Advisory build 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE / openSUSE SLE-12-SP3 zshs390x Advisory build 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE / openSUSE SLE-12-SP3 zshx86_64 Advisory build 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE / openSUSE SLE-12-SP4 zshaarch64 Advisory build 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE / openSUSE SLE-12-SP4 zshppc64le Advisory build 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE / openSUSE SLE-12-SP4 zshs390x Advisory build 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE / openSUSE SLE-12-SP4 zshx86_64 Advisory build 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE / openSUSE SLE-12-SP5 zshaarch64 Advisory build 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE / openSUSE SLE-12-SP5 zshppc64le Advisory build 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE / openSUSE SLE-12-SP5 zshs390x Advisory build 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE / openSUSE SLE-12-SP5 zshx86_64 Advisory build 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE / openSUSE SLE-15 zshaarch64 Advisory build 5.6-3.6.1 SUSE-SU-2018:2686-1
SUSE / openSUSE SLE-15 zshppc64le Advisory build 5.6-3.6.1 SUSE-SU-2018:2686-1
SUSE / openSUSE SLE-15 zshs390x Advisory build 5.6-3.6.1 SUSE-SU-2018:2686-1
SUSE / openSUSE SLE-15 zshx86_64 Advisory build 5.6-3.6.1 SUSE-SU-2018:2686-1
SUSE / openSUSE openSUSE-Tumbleweed zshaarch64 Advisory build 5.8-7.7 OPENSUSE-SU-2024:11543-1
SUSE / openSUSE openSUSE-Tumbleweed zshppc64le Advisory build 5.8-7.7 OPENSUSE-SU-2024:11543-1
SUSE / openSUSE openSUSE-Tumbleweed zshs390x Advisory build 5.8-7.7 OPENSUSE-SU-2024:11543-1
SUSE / openSUSE openSUSE-Tumbleweed zshx86_64 Advisory build 5.8-7.7 OPENSUSE-SU-2024:11543-1
SUSE / openSUSE openSUSE-Tumbleweed zsh-htmldocaarch64 Advisory build 5.8-7.7 OPENSUSE-SU-2024:11543-1
SUSE / openSUSE openSUSE-Tumbleweed zsh-htmldocppc64le Advisory build 5.8-7.7 OPENSUSE-SU-2024:11543-1
SUSE / openSUSE openSUSE-Tumbleweed zsh-htmldocs390x Advisory build 5.8-7.7 OPENSUSE-SU-2024:11543-1
SUSE / openSUSE openSUSE-Tumbleweed zsh-htmldocx86_64 Advisory build 5.8-7.7 OPENSUSE-SU-2024:11543-1
Ubuntu bionic zsh-common Advisory build 5.4.2-3ubuntu3.1 USN-3764-1
Ubuntu bionic zsh-static Advisory build 5.4.2-3ubuntu3.1 USN-3764-1
Ubuntu trusty zsh Advisory build 5.0.2-3ubuntu6.3 USN-3764-1
Ubuntu trusty zsh-beta Advisory build 5.0.2-3ubuntu6.3 USN-3764-1
Ubuntu trusty zsh-common Advisory build 5.0.2-3ubuntu6.3 USN-3764-1
Ubuntu trusty zsh-static Advisory build 5.0.2-3ubuntu6.3 USN-3764-1
Ubuntu xenial zsh Advisory build 5.1.1-1ubuntu2.3 USN-3764-1
Ubuntu xenial zsh-common Advisory build 5.1.1-1ubuntu2.3 USN-3764-1
Ubuntu xenial zsh-static Advisory build 5.1.1-1ubuntu2.3 USN-3764-1
Amazon Linux AL2 zshnoarch Listed in advisory Not stated ALAS2-2018-1089
Amazon Linux AL2 zshsrc Listed in advisory Not stated ALAS2-2018-1089
Amazon Linux AL2 zshx86_64 Listed in advisory Not stated ALAS2-2018-1089

Description

An issue was discovered in zsh before 5.6. Shebang lines exceeding 64 characters were truncated, potentially leading to an execve call to a program name that is a substring of the intended one.

en · debian · cna

Vendor advisories explicitly linked to this CVE.

15

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a zsh before 5.6 zsh before 5.6 (affected) debian · cna

Weaknesses

1
  • improper parsing (debian · cna)

References

7

Provider assertions

2

debian · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
26dafafc7537d9add3a213bb25936cbc417503b5d63af9c7a6658b7906a4541f
Ingested
23 Sep 2026, 07:43:37 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected