Vulnerability database / CVE-2017-18205
CVE-2017-18205
HIGH 8.1 CVSS 3.0 In builtin.c in zsh before 5.4, when sh compatibility mode is used, there is a NULL pointer dereference during processing of the cd command with no argument if HOME is not set.
Published 27 Feb 2018
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-476 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.0
HIGH 8.1
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 6.8
AV:N/AC:M/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
zsh_project
zshcpe:2.3:a:zsh_project:zsh:*:*:*:*:*:*:*:*
< 5.4
5.4
References
History
25 Nov 2026 20:20 UTC · NVD: first stored (published 27 Feb 2018)