CVE-2018-7548
zsh: null-pointer deref when using ${(PA)...} on an empty array result
Loading…
Severity
LowRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · March 24, 2017
Updated · November 22, 2025
Description
In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 2.8CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
CWE-476 · NULL Pointer Dereference