Back
CVE-2018-13259
An issue was discovered in zsh before 5.6. Shebang lines exceeding 64 characters were truncated, potentially leading to an execve call to…
- 9.8CriticalCVSS base score
- 2.7%Exploitation in 30 daysEPSS · top 14% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By debian
- 2 months later
· 2 months later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.7% · top 14% of all CVEs (10 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
zsh before 5.6
- affected zsh before 5.6
References
7
- https://bugs.debian.org/908000 (opens in a new tab)x_refsource_MISCx_transferred
- https://sourceforge.net/p/zsh/code/ci/1c4c7b6a4d17294df028322b70c53803a402233d (opens in a new tab)x_refsource_MISCx_transferred
- https://www.zsh.org/mla/zsh-announce/136 (opens in a new tab)x_refsource_MISCx_transferred
- USN-3764-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- GLSA-201903-02 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- RHSA-2019:2017 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [debian-lts-announce] 20201201 [SECURITY] [DLA 2470-1] zsh security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-5207 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-13259)Record last updated .