CVE-2018-7548

CRITICAL

zsh < 5.4.2 - NULL Pointer Dereference via Empty Array Parameter Expansion

Title source: llm
STIX 2.1

Description

In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.

References (3)

Core 3
Core References
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3593-1/
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201805-10

Scores

CVSS v3 9.8
EPSS 0.0263
EPSS Percentile 83.7%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-476
Status published
Products (2)
canonical/ubuntu_linux 17.10
zsh/zsh < 5.4.2
Published Feb 27, 2018
Tracked Since Feb 18, 2026