Skip to content
Heist/ feed
Back to feed
HighFix available

zsh — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2018-1083

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.

Products
zsh
Affected versions
Not specified
Fixed versions
5.4.2-4
CVEs
CVE-2018-1083
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:25 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-1083

core-osv · Original source

Published 28 Mar 2018, 13:29 UTC

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.

osv:DEBIAN-CVE-2018-1083

zsh

Fixed versions: 5.4.2-4

zsh

Fixed versions: 5.4.2-4

zsh

Fixed versions: 5.4.2-4

Complete source record
{
  "id": "4743f3413a72178559b5eae658bb7b4fcfb1c614e9b13702e475b3e30f42e48e",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-1083",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-1083",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2018-1083",
    "products": [
      {
        "name": {
          "value": "zsh",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.2-4",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "zsh",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.2-4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "zsh",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.2-4",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2018-1083",
      "aliases": [
        "DEBIAN-CVE-2018-1083"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.2-4"
                }
              ]
            }
          ],
          "package": {
            "name": "zsh",
            "purl": "pkg:deb/debian/zsh?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-1083.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.2-4"
                }
              ]
            }
          ],
          "package": {
            "name": "zsh",
            "purl": "pkg:deb/debian/zsh?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-1083.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.2-4"
                }
              ]
            }
          ],
          "package": {
            "name": "zsh",
            "purl": "pkg:deb/debian/zsh?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-1083.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        }
      ],
      "modified": "2026-10-23T18:03:18.212787774Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-1083"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-1083"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-1083",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 421072,
  "published_at": "2018-03-28T13:29:00.213+00:00"
}