CVE-2017-18205: zsh_project zsh NULL Pointer Dereference
CVSS: 8.1v3.0HighModified
AliasesUBUNTU-CVE-2017-18205DEBIAN-CVE-2017-18205
Published 27-02-2018Last modified 05-08-2024
Vulnerability summary
CVE-2017-18205 is a high (CVSS 8.1) NULL Pointer Dereference vulnerability in zsh_project zsh. EPSS estimates a 2.04% chance of exploitation in the next 30 days, higher than 80.9% of scored vulnerabilities.
CVSS score
8.1/10
010
High · v3.0 (NVD)EPSS score
2.04%
0%100%
Low · +0.13 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 5 · Related 3Timeline
- 27-02-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versionsHigh 8.1Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
2.04%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
+0.13 pp
From 1.91% on 21-09-2026
21-09-202621-10-2026
EPSS score2.04%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- zsh< 5.4.1-1
Ubuntu1 product
- zsh< 5.0.2-3ubuntu6.1 | < 5.1.1-1ubuntu2.1
Zsh_project1 product
- zsh< 5.4
3 vendors · 3 products
References
8 links- sourceforge.net/p/zsh/code/ci/eb783754bdb74377f3cea4ceca9c23a02ea1bf58X Refsource MISCPatchThird Party AdvisoryREPORT