All reports
Low

zsh: crash on copying empty hash table

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2018-7549

Probability of exploitation in the next 30 days: 2.59%

FIRST EPSS · 2026-11-23

Description

In params.c in zsh through 5.4.2, there is a crash during a copy of an empty hash table, as demonstrated by typeset -p.

A NULL pointer dereference flaw was found in the code responsible for saving hashtables of the zsh package. An attacker could use this flaw to cause a denial of service by crashing the user shell.