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 a program name that is a substring of the intended one.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.72% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 85.9% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-09-05 07:00Z8 YR AGO
- Last updated
- 2024-08-05 09:00Z2 YR AGO
- Reserved
- 2018-07-05
- Assigning CNA
- debian
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-20Improper Input ValidationClass
- Data version
- 5.1
- Document digest
- 5fa633e540f682adf5880be2e7635ded04984d93b08cb71f386c926fbebf099f
05 Affected products
06 References
- bugs.debian.orghttps://bugs.debian.org/908000
- sourceforge.nethttps://sourceforge.net/p/zsh/code/ci/1c4c7b6a4d17294df028322b70c53803a402233d
- www.zsh.orghttps://www.zsh.org/mla/zsh-announce/136
- usn.ubuntu.comUSN-3764-1https://usn.ubuntu.com/3764-1/
- security.gentoo.orgGLSA-201903-02https://security.gentoo.org/glsa/201903-02
- access.redhat.comRHSA-2019:2017https://access.redhat.com/errata/RHSA-2019:2017
- lists.debian.org[debian-lts-announce] 20201201 [SECURITY] [DLA 2470-1] zsh security updatehttps://lists.debian.org/debian-lts-announce/2020/12/msg00000.html
07 Fixed in
Arch Linux
- zsh Fixed in 5.6-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- zsh Fixed in 5.6-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- zsh Fixed in 5.6-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- zsh Fixed in 5.6-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- zsh Fixed in 5.0.2-3ubuntu6.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- zsh Fixed in 5.1.1-1ubuntu2.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- zsh Fixed in 5.4.2-3ubuntu3.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.