Skip to content
OpenAdvisories
Unscored CVE-2018-7548 EUVD-2018-19275GHSA-52h6-vcv4-gr3c

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

Published Feb 27, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 zsh 5.5-1 —
Debian 13 zsh 5.5-1 —
Debian 12 zsh 5.5-1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 zsh +1 5.3.1-7.amzn2 ALAS2-2018-986

Advisories 1

References