CVE catalog

CVE-2018-1083

zsh: CVE-2018-1083

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.59% · Oct 27, 2026

Zsh before version 5.4.2-test-1 is vulnerable to a buffer overflow in the shell autocomplete functionality. A local unprivileged user can create a specially crafted directory path which leads to code execution in the context of the user who tries to use autocomplete to traverse the before mentioned path. If the user affected is privileged, this leads to privilege escalation.

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

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianzshsourcesid5.4.2-4lowNot reported[894043]
Debianzshsourceforky5.4.2-4lowNot reported[894043]
Debianzshsourcetrixie5.4.2-4lowNot reported[894043]
Debianzshsourcebookworm5.4.2-4lowNot reported[894043]
Alpinezshapk3.105.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.115.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.125.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.135.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.145.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.155.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.165.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.175.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.185.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.195.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.205.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.215.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.225.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.235.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.245.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.45.2-r2Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.55.2-r4Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.65.3.1-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.75.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.85.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Alpinezshapk3.95.4.2-r1Not reportedALPINE-CVE-2018-1083Not reported
Ubuntuzshdeb14.045.0.2-3ubuntu6.2Not reportedUBUNTU-CVE-2018-1083Not reported
Ubuntuzshdeb16.045.1.1-1ubuntu2.2Not reportedUBUNTU-CVE-2018-1083Not reported

[Debian bug #894043]

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