
CVE catalog
CVE-2018-13259
zsh: CVE-2018-13259
- Severity
- High · CVSS 7.3
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.72% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | zsh | sid | 5.9.2-1 | fixed |
| Debian | zsh | forky | 5.9.2-1 | fixed |
| Debian | zsh | trixie | 5.9-8 | fixed |
| Debian | zsh | bookworm | 5.9-4 | fixed |
| Ubuntu | zsh | 14.04 | 5.0.2-3ubuntu6 | vulnerable |
| Ubuntu | zsh | 14.04 | 5.0.2-3ubuntu6.1 | vulnerable |
| Ubuntu | zsh | 14.04 | 5.0.2-3ubuntu6.2 | vulnerable |
| Ubuntu | zsh | 14.04 | 5.0.2-3ubuntu6.3 | fixed |
| Ubuntu | zsh | 16.04 | 5.1.1-1ubuntu1 | vulnerable |
| Ubuntu | zsh | 16.04 | 5.1.1-1ubuntu2 | vulnerable |
| Ubuntu | zsh | 16.04 | 5.1.1-1ubuntu2.1 | vulnerable |
| Ubuntu | zsh | 16.04 | 5.1.1-1ubuntu2.2 | vulnerable |
| Ubuntu | zsh | 16.04 | 5.1.1-1ubuntu2.3 | fixed |
| Ubuntu | zsh | 18.04 | 5.2-5ubuntu1 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu1 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu2 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu3 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | zsh | source | sid | 5.6-1 | not yet assigned | Not reported | [908000] |
| Debian | zsh | source | forky | 5.6-1 | not yet assigned | Not reported | [908000] |
| Debian | zsh | source | trixie | 5.6-1 | not yet assigned | Not reported | [908000] |
| Debian | zsh | source | bookworm | 5.6-1 | not yet assigned | Not reported | [908000] |
| Ubuntu | zsh | deb | 14.04 | 5.0.2-3ubuntu6.3 | Not reported | UBUNTU-CVE-2018-13259 | Not reported |
| Ubuntu | zsh | deb | 16.04 | 5.1.1-1ubuntu2.3 | Not reported | UBUNTU-CVE-2018-13259 | Not reported |
| Ubuntu | zsh | deb | 18.04 | 5.4.2-3ubuntu3.1 | Not reported | UBUNTU-CVE-2018-13259 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [zsh]Fixed
Source package: [zsh]
Details (2)
5.9-4+b15· amd64 · bookwormFixed · Fixed:
5.6-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4+b15· arm64 · bookwormFixed · Fixed:
5.6-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-common]Fixed
Source package: [zsh]
Details (2)
5.9-4· all · bookwormFixed · Fixed:
5.6-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4· all · bookwormFixed · Fixed:
5.6-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-dev]Fixed
Source package: [zsh]
Details (2)
5.9-4+b15· amd64 · bookwormFixed · Fixed:
5.6-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4+b15· arm64 · bookwormFixed · Fixed:
5.6-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-doc]Fixed
Source package: [zsh]
Details (2)
5.9-4· all · bookwormFixed · Fixed:
5.6-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4· all · bookwormFixed · Fixed:
5.6-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-static]Fixed
Source package: [zsh]
Details (2)
5.9-4+b15· amd64 · bookwormFixed · Fixed:
5.6-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4+b15· arm64 · bookwormFixed · Fixed:
5.6-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
[Debian 13 (Trixie)]
- [zsh]Fixed
Source package: [zsh]
Details (2)
5.9-8+b23· amd64 · trixieFixed · Fixed:
5.6-1dsa · zsh · debian · 13
5.9-8+b23· arm64 · trixieFixed · Fixed:
5.6-1dsa · zsh · debian · 13
- [zsh-common]Fixed
Source package: [zsh]
Details (2)
5.9-8· all · trixieFixed · Fixed:
5.6-1dsa · zsh · debian · 13
5.9-8· all · trixieFixed · Fixed:
5.6-1dsa · zsh · debian · 13
- [zsh-dev]Fixed
Source package: [zsh]
Details (2)
5.9-8+b23· amd64 · trixieFixed · Fixed:
5.6-1dsa · zsh · debian · 13
5.9-8+b23· arm64 · trixieFixed · Fixed:
5.6-1dsa · zsh · debian · 13
- [zsh-doc]Fixed
Source package: [zsh]
Details (2)
5.9-8· all · trixieFixed · Fixed:
5.6-1dsa · zsh · debian · 13
5.9-8· all · trixieFixed · Fixed:
5.6-1dsa · zsh · debian · 13
- [zsh-static]Fixed
Source package: [zsh]
Details (2)
5.9-8+b23· amd64 · trixieFixed · Fixed:
5.6-1dsa · zsh · debian · 13
5.9-8+b23· arm64 · trixieFixed · Fixed:
5.6-1dsa · zsh · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2019:2017]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2019_2017.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-13259]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-13259]
- [https://security-tracker.debian.org/tracker/CVE-2018-13259]
- [https://wid.cert-bund.de/.well-known/csaf/white/2019/wid-sec-w-2022-0517.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]