First published: Tue Feb 27 2018(Updated: )
In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Zsh Zsh | <=5.4.2 | |
Canonical Ubuntu Linux | =17.10 | |
debian/zsh | 5.8-6+deb11u1 5.9-4 5.9-8 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-7548 is a vulnerability in zsh through 5.4.2 that allows for a null pointer dereference when using ${(PA)...} on an empty array result.
CVE-2018-7548 has a severity level of 9.8 (critical).
CVE-2018-7548 affects zsh versions through 5.4.2.
To fix CVE-2018-7548 in zsh, update to version 5.7.1-1+deb10u1, 5.8-6+deb11u1, 5.9-4, or 5.9-5.
More information about CVE-2018-7548 can be found at the following references: [1] [2] [3].