CVE-2018-13259: Input Validation
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.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2018-13259?
CVE-2018-13259 is a vulnerability in zsh before version 5.6 that allows shebang lines exceeding 64 characters to be truncated, potentially leading to an execve call to a program name that is a substring of the intended one.
How severe is CVE-2018-13259?
CVE-2018-13259 has a severity rating of 9.8 (critical).
Which software versions are affected by CVE-2018-13259?
The affected software versions include zsh 5.6-1 on Ubuntu, zsh 5.1.1-1ubuntu2.3 on Xenial, zsh 5.4.2-3ubuntu3.1 on Bionic, zsh 5.0.2-3ubuntu6.3 on Trusty, and zsh 5.6 on Red Hat.
How can I fix CVE-2018-13259?
To fix CVE-2018-13259, update zsh to version 5.6-1 on Ubuntu, version 5.1.1-1ubuntu2.3 on Xenial, version 5.4.2-3ubuntu3.1 on Bionic, version 5.0.2-3ubuntu6.3 on Trusty, or version 5.6 on Red Hat.
Where can I find more information about CVE-2018-13259?
You can find more information about CVE-2018-13259 on the MITRE CVE website, Ubuntu Security Notices, and the NIST National Vulnerability Database.