{"api_version":"1","generated_at":"2026-04-22T23:30:23+00:00","cve":"CVE-2018-13259","urls":{"html":"https://cve.report/CVE-2018-13259","api":"https://cve.report/api/cve/CVE-2018-13259.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-13259","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-13259"},"summary":{"title":"CVE-2018-13259","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.","state":"PUBLIC","assigner":"security@debian.org","published_at":"2018-09-05 08:29:00","updated_at":"2020-12-01 07:15:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://usn.ubuntu.com/3764-1/","name":"USN-3764-1","refsource":"UBUNTU","tags":["Third Party Advisory"],"title":"USN-3764-1: Zsh vulnerabilities | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.debian.org/908000","name":"https://bugs.debian.org/908000","refsource":"MISC","tags":["Mailing List","Patch","Third Party Advisory"],"title":"#908000 - zsh: CVE-2018-0502 + CVE-2018-13259: Two security bugs in shebang line parsing - Debian Bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html","name":"[debian-lts-announce] 20201201 [SECURITY] [DLA 2470-1] zsh security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2470-1] zsh security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201903-02","name":"GLSA-201903-02","refsource":"GENTOO","tags":["Third Party Advisory"],"title":"Zsh: User-assisted execution of arbitrary code (GLSA 201903-02) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://access.redhat.com/errata/RHSA-2019:2017","name":"RHSA-2019:2017","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://sourceforge.net/p/zsh/code/ci/1c4c7b6a4d17294df028322b70c53803a402233d","name":"https://sourceforge.net/p/zsh/code/ci/1c4c7b6a4d17294df028322b70c53803a402233d","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"zsh / Code / Commit [1c4c7b]","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.zsh.org/mla/zsh-announce/136","name":"https://www.zsh.org/mla/zsh-announce/136","refsource":"MISC","tags":["Mailing List","Release Notes","Vendor Advisory"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-13259","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-13259","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"13259","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"13259","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"16.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"13259","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"18.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"13259","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"13259","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"16.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"13259","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"18.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"13259","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"zsh","cpe5":"zsh","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"13259","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"zsh","cpe5":"zsh","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-13259","qid":"377273","title":"Alibaba Cloud Linux Security Update for zsh (ALINUX2-SA-2019:0109)"},{"cve":"CVE-2018-13259","qid":"710196","title":"Gentoo Linux Zsh User-assisted execution of arbitrary code Vulnerability (GLSA 201903-02)"},{"cve":"CVE-2018-13259","qid":"751638","title":"SUSE Enterprise Linux Security Update for zsh (SUSE-SU-2022:0161-1)"},{"cve":"CVE-2018-13259","qid":"753235","title":"SUSE Enterprise Linux Security Update for zsh (SUSE-SU-2022:14910-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@debian.org","ID":"CVE-2018-13259","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"zsh before 5.6","version":{"version_data":[{"version_value":"zsh before 5.6"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"improper parsing"}]}]},"references":{"reference_data":[{"name":"https://bugs.debian.org/908000","refsource":"MISC","url":"https://bugs.debian.org/908000"},{"name":"https://sourceforge.net/p/zsh/code/ci/1c4c7b6a4d17294df028322b70c53803a402233d","refsource":"MISC","url":"https://sourceforge.net/p/zsh/code/ci/1c4c7b6a4d17294df028322b70c53803a402233d"},{"name":"https://www.zsh.org/mla/zsh-announce/136","refsource":"MISC","url":"https://www.zsh.org/mla/zsh-announce/136"},{"name":"USN-3764-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3764-1/"},{"name":"GLSA-201903-02","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201903-02"},{"refsource":"REDHAT","name":"RHSA-2019:2017","url":"https://access.redhat.com/errata/RHSA-2019:2017"},{"refsource":"MLIST","name":"[debian-lts-announce] 20201201 [SECURITY] [DLA 2470-1] zsh security update","url":"https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html"}]}},"nvd":{"publishedDate":"2018-09-05 08:29:00","lastModifiedDate":"2020-12-01 07:15:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:zsh:zsh:*:*:*:*:*:*:*:*","versionEndExcluding":"5.6","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"13259","Ordinal":"129908","Title":"CVE-2018-13259","CVE":"CVE-2018-13259","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"13259","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"13259","Ordinal":"2","NoteData":"2018-09-05","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"13259","Ordinal":"3","NoteData":"2020-12-01","Type":"Other","Title":"Modified"}]}}}