CVE-2018-13259: Input Validation

Published Sep 5, 2018
·
Updated

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

6 affected componentsFixes available
redhat/zsh<5.6
5.6
debian/zsh
5.8-6+deb11u15.9-45.9-8
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Zsh zsh<5.6

Event History

Sep 5, 2018
CVE Published
via MITRE·07:00 AM
Data Sourced
via MITRE·07:00 AM
DescriptionWeakness
Jan 11, 2024
Data Sourced
via Launchpad·10:50 PM
Description
Sep 14, 2024
Data Sourced
via Ubuntu·03:42 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How severe is CVE-2018-13259?

CVE-2018-13259 has a severity rating of 9.8 (critical).

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203