9.8crit
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 8 y ago · modified 4 mo ago · JSON
CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.5%
percentile 85%
Public exploits
0
none known
Summary
In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
Exploit prediction (EPSS)
2.54% probability of exploitation in the next 30 days, higher than 85% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
- CWE-476 NULL Pointer Dereference
References
- usn.ubuntu.com /3593-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- security.gentoo.org /glsa/201805-10 · vendor-advisory, x_refsource_GENTOO, x_transferred
- sourceforge.net /p/zsh/code/ci/110b13e1090bc31ac1352b28adc2d02b6d25a102 · x_refsource_MISC, x_transferred
Sources
- CVE List: CVE-2018-7548
- NVD: CVE-2018-7548
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.