Live threats

All CVEs / Zsh Project

CVE-2017-18205Zsh Project Zsh

High 8.1 No auth needed

Priority
64
CVSS 3.0
8.1
EPSS
2.0%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Feb 27, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-476
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Zsh.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
zsh_projectzsh< 5.4

Official sources

References

Links published by the sources. Open them with care.