Live threats

All CVEs / Zsh

CVE-2018-7548Zsh

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
2.5%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Feb 27, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-476
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Zsh.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
zshzsh≤ 5.4.2
canonicalubuntu_linux17.10

Official sources

References

Links published by the sources. Open them with care.