
CVE catalog
CVE-2018-7548
zsh: CVE-2018-7548
- Severity
- Low
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.54% · Oct 25, 2026
In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | zsh | sid | 5.9.2-1 | fixed |
| Debian | zsh | forky | 5.9.2-1 | fixed |
| Debian | zsh | trixie | 5.9-8 | fixed |
| Debian | zsh | bookworm | 5.9-4 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | zsh | source | sid | 5.5-1 | unimportant | Not reported | Not reported |
| Debian | zsh | source | forky | 5.5-1 | unimportant | Not reported | Not reported |
| Debian | zsh | source | trixie | 5.5-1 | unimportant | Not reported | Not reported |
| Debian | zsh | source | bookworm | 5.5-1 | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [zsh]Fixed
Source package: [zsh]
Details (2)
5.9-4+b15· amd64 · bookwormFixed · Fixed:
5.5-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4+b15· arm64 · bookwormFixed · Fixed:
5.5-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-common]Fixed
Source package: [zsh]
Details (2)
5.9-4· all · bookwormFixed · Fixed:
5.5-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4· all · bookwormFixed · Fixed:
5.5-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-dev]Fixed
Source package: [zsh]
Details (2)
5.9-4+b15· amd64 · bookwormFixed · Fixed:
5.5-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4+b15· arm64 · bookwormFixed · Fixed:
5.5-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-doc]Fixed
Source package: [zsh]
Details (2)
5.9-4· all · bookwormFixed · Fixed:
5.5-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4· all · bookwormFixed · Fixed:
5.5-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-static]Fixed
Source package: [zsh]
Details (2)
5.9-4+b15· amd64 · bookwormFixed · Fixed:
5.5-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4+b15· arm64 · bookwormFixed · Fixed:
5.5-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
[Debian 13 (Trixie)]
- [zsh]Fixed
Source package: [zsh]
Details (2)
5.9-8+b23· amd64 · trixieFixed · Fixed:
5.5-1dsa · zsh · debian · 13
5.9-8+b23· arm64 · trixieFixed · Fixed:
5.5-1dsa · zsh · debian · 13
- [zsh-common]Fixed
Source package: [zsh]
Details (2)
5.9-8· all · trixieFixed · Fixed:
5.5-1dsa · zsh · debian · 13
5.9-8· all · trixieFixed · Fixed:
5.5-1dsa · zsh · debian · 13
- [zsh-dev]Fixed
Source package: [zsh]
Details (2)
5.9-8+b23· amd64 · trixieFixed · Fixed:
5.5-1dsa · zsh · debian · 13
5.9-8+b23· arm64 · trixieFixed · Fixed:
5.5-1dsa · zsh · debian · 13
- [zsh-doc]Fixed
Source package: [zsh]
Details (2)
5.9-8· all · trixieFixed · Fixed:
5.5-1dsa · zsh · debian · 13
5.9-8· all · trixieFixed · Fixed:
5.5-1dsa · zsh · debian · 13
- [zsh-static]Fixed
Source package: [zsh]
Details (2)
5.9-8+b23· amd64 · trixieFixed · Fixed:
5.5-1dsa · zsh · debian · 13
5.9-8+b23· arm64 · trixieFixed · Fixed:
5.5-1dsa · zsh · debian · 13
Observed: