CVE catalog

CVE-2018-7548

zsh: CVE-2018-7548

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianzshsid5.9.2-1fixed
Debianzshforky5.9.2-1fixed
Debianzshtrixie5.9-8fixed
Debianzshbookworm5.9-4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianzshsourcesid5.5-1unimportantNot reportedNot reported
Debianzshsourceforky5.5-1unimportantNot reportedNot reported
Debianzshsourcetrixie5.5-1unimportantNot reportedNot reported
Debianzshsourcebookworm5.5-1unimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [zsh]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-4+b15 · amd64 · bookworm

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

    • 5.9-4+b15 · arm64 · bookworm

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

  • [zsh-common]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-4 · all · bookworm

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

    • 5.9-4 · all · bookworm

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

  • [zsh-dev]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-4+b15 · amd64 · bookworm

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

    • 5.9-4+b15 · arm64 · bookworm

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

  • [zsh-doc]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-4 · all · bookworm

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

    • 5.9-4 · all · bookworm

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

  • [zsh-static]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-4+b15 · amd64 · bookworm

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

    • 5.9-4+b15 · arm64 · bookworm

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

[Debian 13 (Trixie)]

  • [zsh]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-8+b23 · amd64 · trixie

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · 13

    • 5.9-8+b23 · arm64 · trixie

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · 13

  • [zsh-common]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-8 · all · trixie

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · 13

    • 5.9-8 · all · trixie

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · 13

  • [zsh-dev]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-8+b23 · amd64 · trixie

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · 13

    • 5.9-8+b23 · arm64 · trixie

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · 13

  • [zsh-doc]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-8 · all · trixie

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · 13

    • 5.9-8 · all · trixie

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · 13

  • [zsh-static]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-8+b23 · amd64 · trixie

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · 13

    • 5.9-8+b23 · arm64 · trixie

      Fixed · Fixed: 5.5-1

      dsa · zsh · debian · 13

Observed:

References