CVE catalog

CVE-2018-13259

zsh: CVE-2018-13259

[CVE catalog]

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

An issue was discovered in zsh before 5.6. Shebang lines exceeding 64 characters were truncated, potentially leading to an execve call to a program name that is a substring of the intended one.

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
Ubuntuzsh14.045.0.2-3ubuntu6vulnerable
Ubuntuzsh14.045.0.2-3ubuntu6.1vulnerable
Ubuntuzsh14.045.0.2-3ubuntu6.2vulnerable
Ubuntuzsh14.045.0.2-3ubuntu6.3fixed
Ubuntuzsh16.045.1.1-1ubuntu1vulnerable
Ubuntuzsh16.045.1.1-1ubuntu2vulnerable
Ubuntuzsh16.045.1.1-1ubuntu2.1vulnerable
Ubuntuzsh16.045.1.1-1ubuntu2.2vulnerable
Ubuntuzsh16.045.1.1-1ubuntu2.3fixed
Ubuntuzsh18.045.2-5ubuntu1vulnerable
Ubuntuzsh18.045.4.2-3ubuntu1vulnerable
Ubuntuzsh18.045.4.2-3ubuntu2vulnerable
Ubuntuzsh18.045.4.2-3ubuntu3vulnerable
Ubuntuzsh18.045.4.2-3ubuntu3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianzshsourcesid5.6-1not yet assignedNot reported[908000]
Debianzshsourceforky5.6-1not yet assignedNot reported[908000]
Debianzshsourcetrixie5.6-1not yet assignedNot reported[908000]
Debianzshsourcebookworm5.6-1not yet assignedNot reported[908000]
Ubuntuzshdeb14.045.0.2-3ubuntu6.3Not reportedUBUNTU-CVE-2018-13259Not reported
Ubuntuzshdeb16.045.1.1-1ubuntu2.3Not reportedUBUNTU-CVE-2018-13259Not reported
Ubuntuzshdeb18.045.4.2-3ubuntu3.1Not reportedUBUNTU-CVE-2018-13259Not reported

[Debian bug #908000]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [zsh]Fixed

    Source package: [zsh]

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

      Fixed · Fixed: 5.6-1

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

    • 5.9-4+b15 · arm64 · bookworm

      Fixed · Fixed: 5.6-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.6-1

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

    • 5.9-4 · all · bookworm

      Fixed · Fixed: 5.6-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.6-1

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

    • 5.9-4+b15 · arm64 · bookworm

      Fixed · Fixed: 5.6-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.6-1

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

    • 5.9-4 · all · bookworm

      Fixed · Fixed: 5.6-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.6-1

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

    • 5.9-4+b15 · arm64 · bookworm

      Fixed · Fixed: 5.6-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.6-1

      dsa · zsh · debian · 13

    • 5.9-8+b23 · arm64 · trixie

      Fixed · Fixed: 5.6-1

      dsa · zsh · debian · 13

  • [zsh-common]Fixed

    Source package: [zsh]

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

      Fixed · Fixed: 5.6-1

      dsa · zsh · debian · 13

    • 5.9-8 · all · trixie

      Fixed · Fixed: 5.6-1

      dsa · zsh · debian · 13

  • [zsh-dev]Fixed

    Source package: [zsh]

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

      Fixed · Fixed: 5.6-1

      dsa · zsh · debian · 13

    • 5.9-8+b23 · arm64 · trixie

      Fixed · Fixed: 5.6-1

      dsa · zsh · debian · 13

  • [zsh-doc]Fixed

    Source package: [zsh]

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

      Fixed · Fixed: 5.6-1

      dsa · zsh · debian · 13

    • 5.9-8 · all · trixie

      Fixed · Fixed: 5.6-1

      dsa · zsh · debian · 13

  • [zsh-static]Fixed

    Source package: [zsh]

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

      Fixed · Fixed: 5.6-1

      dsa · zsh · debian · 13

    • 5.9-8+b23 · arm64 · trixie

      Fixed · Fixed: 5.6-1

      dsa · zsh · debian · 13

Observed:

References