NULL pointer dereference in Zsh
CVE-2018-7548
In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.025, 85.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Zsh
- Canonical Ubuntu Linux — versions 17.10
Weakness classification (CWE)
References
- USN-3593-1 (vendor-advisory, Third Party Advisory)
- GLSA-201805-10 (vendor-advisory, Third Party Advisory)
- sourceforge.net/p/zsh/code/ci/110b13e1090bc31ac1352b28adc2d02b6d25a102 (Patch, Third Party Advisory)