CVE catalog

CVE-2018-1071

zsh: CVE-2018-1071

[CVE catalog]

Severity
Low · CVSS 3.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.43% · Oct 25, 2026

zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the exec.c:hashcmd() function. A local attacker could exploit this to cause a denial of service.

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
Alpinezsh3.105.4.2-r1fixed
Alpinezsh3.115.4.2-r1fixed
Alpinezsh3.125.4.2-r1fixed
Alpinezsh3.135.4.2-r1fixed
Alpinezsh3.145.4.2-r1fixed
Alpinezsh3.155.4.2-r1fixed
Alpinezsh3.165.4.2-r1fixed
Alpinezsh3.175.4.2-r1fixed
Alpinezsh3.185.4.2-r1fixed
Alpinezsh3.195.4.2-r1fixed
Alpinezsh3.205.4.2-r1fixed
Alpinezsh3.215.4.2-r1fixed
Alpinezsh3.225.4.2-r1fixed
Alpinezsh3.235.4.2-r1fixed
Alpinezsh3.245.4.2-r1fixed
Alpinezsh3.45.2-r2fixed
Alpinezsh3.55.2-r4fixed
Alpinezsh3.65.3.1-r1fixed
Alpinezsh3.75.4.2-r1fixed
Alpinezsh3.85.4.2-r1fixed
Alpinezsh3.95.4.2-r1fixed
Ubuntuzsh14.045.0.2-3ubuntu6vulnerable
Ubuntuzsh14.045.0.2-3ubuntu6.1vulnerable
Ubuntuzsh14.045.0.2-3ubuntu6.2fixed
Ubuntuzsh16.045.1.1-1ubuntu1vulnerable
Ubuntuzsh16.045.1.1-1ubuntu2vulnerable
Ubuntuzsh16.045.1.1-1ubuntu2.1vulnerable
Ubuntuzsh16.045.1.1-1ubuntu2.2fixed
Ubuntuzsh14.045.0.2-3ubuntu6vulnerable
Ubuntuzsh14.045.0.2-3ubuntu6.1vulnerable
Ubuntuzsh14.045.0.2-3ubuntu6.2fixed
Ubuntuzsh16.045.1.1-1ubuntu1vulnerable
Ubuntuzsh16.045.1.1-1ubuntu2vulnerable
Ubuntuzsh16.045.1.1-1ubuntu2.1vulnerable
Ubuntuzsh16.045.1.1-1ubuntu2.2fixed
Susezshlinux enterprise module for basesystem 155.5-3.3.15fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianzshsourcesid5.4.2-4lowNot reported[894044]
Debianzshsourceforky5.4.2-4lowNot reported[894044]
Debianzshsourcetrixie5.4.2-4lowNot reported[894044]
Debianzshsourcebookworm5.4.2-4lowNot reported[894044]
Alpinezshapk3.105.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.115.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.125.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.135.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.145.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.155.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.165.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.175.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.185.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.195.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.205.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.215.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.225.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.235.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.245.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.45.2-r2Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.55.2-r4Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.65.3.1-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.75.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.85.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Alpinezshapk3.95.4.2-r1Not reportedALPINE-CVE-2018-1071Not reported
Ubuntuzshdeb14.045.0.2-3ubuntu6.2Not reportedUBUNTU-CVE-2018-1071Not reported
Ubuntuzshdeb16.045.1.1-1ubuntu2.2Not reportedUBUNTU-CVE-2018-1071Not reported
Ubuntuzshdeb14.045.0.2-3ubuntu6.2Not reportedUSN-3608-1Not reported
Ubuntuzshdeb16.045.1.1-1ubuntu2.2Not reportedUSN-3608-1Not reported
Susezshrpmlinux enterprise module for basesystem 155.5-3.3.15Not reportedSUSE-SU-2018:1874-1Not reported

[Debian bug #894044]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [zsh]Fixed

    Source package: [zsh]

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

      Fixed · Fixed: 5.4.2-4

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

    • 5.9-4+b15 · arm64 · bookworm

      Fixed · Fixed: 5.4.2-4

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

  • [zsh-common]Fixed

    Source package: [zsh]

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

      Fixed · Fixed: 5.4.2-4

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

    • 5.9-4 · all · bookworm

      Fixed · Fixed: 5.4.2-4

      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.4.2-4

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

    • 5.9-4+b15 · arm64 · bookworm

      Fixed · Fixed: 5.4.2-4

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

  • [zsh-doc]Fixed

    Source package: [zsh]

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

      Fixed · Fixed: 5.4.2-4

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

    • 5.9-4 · all · bookworm

      Fixed · Fixed: 5.4.2-4

      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.4.2-4

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

    • 5.9-4+b15 · arm64 · bookworm

      Fixed · Fixed: 5.4.2-4

      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.4.2-4

      dsa · zsh · debian · 13

    • 5.9-8+b23 · arm64 · trixie

      Fixed · Fixed: 5.4.2-4

      dsa · zsh · debian · 13

  • [zsh-common]Fixed

    Source package: [zsh]

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

      Fixed · Fixed: 5.4.2-4

      dsa · zsh · debian · 13

    • 5.9-8 · all · trixie

      Fixed · Fixed: 5.4.2-4

      dsa · zsh · debian · 13

  • [zsh-dev]Fixed

    Source package: [zsh]

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

      Fixed · Fixed: 5.4.2-4

      dsa · zsh · debian · 13

    • 5.9-8+b23 · arm64 · trixie

      Fixed · Fixed: 5.4.2-4

      dsa · zsh · debian · 13

  • [zsh-doc]Fixed

    Source package: [zsh]

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

      Fixed · Fixed: 5.4.2-4

      dsa · zsh · debian · 13

    • 5.9-8 · all · trixie

      Fixed · Fixed: 5.4.2-4

      dsa · zsh · debian · 13

  • [zsh-static]Fixed

    Source package: [zsh]

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

      Fixed · Fixed: 5.4.2-4

      dsa · zsh · debian · 13

    • 5.9-8+b23 · arm64 · trixie

      Fixed · Fixed: 5.4.2-4

      dsa · zsh · debian · 13

Observed:

References