Vulnerability 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
9.8
CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Zsh | Zsh | <= 5.4.2 |
| Canonical | Ubuntu Linux | 17.10 |
Related Weaknesses (CWE)
References
- https://security.gentoo.org/glsa/201805-10Third Party Advisory
- https://sourceforge.net/p/zsh/code/ci/110b13e1090bc31ac1352b28adc2d02b6d25a102PatchThird Party Advisory
- https://usn.ubuntu.com/3593-1/Third Party Advisory
- https://security.gentoo.org/glsa/201805-10Third Party Advisory
- https://sourceforge.net/p/zsh/code/ci/110b13e1090bc31ac1352b28adc2d02b6d25a102PatchThird Party Advisory
- https://usn.ubuntu.com/3593-1/Third Party Advisory
FAQ
What is CVE-2018-7548?
CVE-2018-7548 is a vulnerability with a CVSS score of 9.8 (CRITICAL). In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
How severe is CVE-2018-7548?
CVE-2018-7548 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2018-7548?
Check the references section above for vendor advisories and patch information. Affected products include: Zsh Zsh, Canonical Ubuntu Linux.