Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-1100

zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the utils.c:checkmailpath function. A local attacker could exploit this to execute arbitrary code in the context of another user.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-1100
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:50 UTC · Revision 1

Source evidence

CVE-2018-1100

core-osv · Original source

Published 11 Apr 2018, 19:29 UTC

zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the utils.c:checkmailpath function. A local attacker could exploit this to execute arbitrary code in the context of another user.

osv:CVE-2018-1100
Complete source record
{
  "id": "4f92f1e522730af8ad6fec729b037aa9f2d17d4fc2ac0669cd37b81e5510b50f",
  "url": "https://osv.dev/vulnerability/CVE-2018-1100",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1100",
    "summary": "zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the utils.c:checkmailpath function. A local attacker could exploit this to execute arbitrary code in the context of another user.",
    "evidence": "osv:CVE-2018-1100",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-1100",
      "aliases": [
        "CVE-2018-1100"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/zsh-users/zsh",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "6ff4787e830f8edb3a7e32490a88a131e4b62f7f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:zsh:zsh:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "5.4.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "zsh-5.4.2",
            "zsh-5.4.1",
            "5.4.1",
            "zsh-5.4",
            "5.4",
            "5.3.1-test-2",
            "zsh-5.3.1",
            "zsh-5.3",
            "zsh-5.2-test-3",
            "zsh-5.2-test-2",
            "zsh-5.2-test-1",
            "zsh-5.2",
            "zsh-5.1.1-test-3",
            "zsh-5.1.1-test-2",
            "5.1.1-test-2",
            "zsh-5.1.1-test-1",
            "zsh-5.1.1",
            "zsh-5.1-test-1",
            "zsh-5.1",
            "zsh-5.0.8-test-3",
            "zsh-5.0.8",
            "zsh-5.0.7-dev-4",
            "zsh-5.0.7-dev-2",
            "zsh-5.0.7",
            "zsh-5.0.6-dev-1",
            "zsh-5.0.6",
            "zsh-5.0.5-dev-3",
            "zsh-5.0.5-dev-2",
            "zsh-5.0.5-dev-1",
            "zsh-5.0.5",
            "zsh-5.0.4",
            "zsh-5.0.3",
            "zsh-5.0.2-test-3",
            "zsh-5.0.2-test-2",
            "zsh-5.0.2-test-1",
            "zsh-5.0.2",
            "zsh-5.0.1",
            "zsh-5.0.0-test-1",
            "zsh-5.0.0",
            "zsh-4.3.17-test-2",
            "zsh-4.3.17",
            "zsh-4.3.16",
            "zsh-4.3.15",
            "zsh-4.3.14",
            "zsh-4.3.13",
            "zsh-4.3.12-test-3",
            "zsh-4.3.12",
            "zsh-4.3.11-dev-4",
            "zsh-4.3.11",
            "zsh-4.3.10-test-3",
            "zsh-4.3.10-dev-2",
            "zsh-4.3.10",
            "zsh-4.3.9-dev-5",
            "zsh-4.3.9-dev-3",
            "zsh-4.3.9",
            "zsh-4.3.8",
            "zsh-4.3.7",
            "zsh-4.3.6-dev-2",
            "zsh-4.3.6-dev-1",
            "zsh-4.3.6",
            "zsh-4.3.5-dev-4",
            "zsh-4.3.5-dev-3",
            "zsh-4.3.5-dev-2",
            "zsh-4.3.5-dev-1",
            "zsh-4.3.5",
            "zsh-4.3.4-dev-8",
            "zsh-4.3.4-dev-7",
            "zsh-4.3.4-dev-6",
            "zsh-4.3.4-dev-5",
            "zsh-4.3.4-dev-4",
            "zsh-4.3.4-dev-2",
            "zsh-4.3.4",
            "zsh-4.3.3",
            "zsh-4.3.2",
            "zsh-4.3.1",
            "zsh-4.3.0-dev-5",
            "zsh-4.3.0-dev-4",
            "zsh-4.3.0-dev-3",
            "zsh-4.2.3",
            "zsh-4.2.2",
            "zsh-4.2.1",
            "zsh-4.2.1-test-A",
            "zsh-4.2.0",
            "zsh-4.2.0-pre-4",
            "zsh-4.2.0-pre-3",
            "zsh-4.2.0-pre-2",
            "zsh-4.2.0-pre-1",
            "zsh-4.1.1",
            "zsh-4.1.1-test-3",
            "zsg-4.1.1-test-2",
            "zsh-4.1.1-test-1",
            "zsh-4.1.0-dev-7",
            "post-opt-arg",
            "pre-opt-arg",
            "zsh-4.1.0-dev-5",
            "zsh-4.1.0-dev-4",
            "zsh-4.1.0-dev-3",
            "zsh-4.1.0-dev-2",
            "zsh-4.1.0-dev-1",
            "zsh-4.0.1",
            "zsh-4.0.1-pre-5",
            "zsh-4.0.1-pre-4",
            "zsh-4.0.1-pre-3",
            "pre-func-move",
            "zsh-4.0.2-pre-2",
            "zsh-4.0.1-pre-1",
            "zsh-3.1.9-dev-8",
            "zsh-3.1.9-dev-7",
            "zsh-3.1.9-dev-6",
            "zsh-3.1.9-dev-5",
            "zsh-3.1.9-dev-4",
            "zsh-3.1.9-dev-3",
            "zsh-3.1.9-dev-2",
            "zsh-3.1.9-dev-1",
            "zsh-3.1.9",
            "zsh-3.1.8",
            "zsh-3.1.7",
            "zsh-3.1.7-pre-4",
            "zsh-3.1.7-pre-3",
            "zsh-3.1.7-pre-2",
            "zsh-3.1.7-prep-1",
            "zsh-3.1.6-dev-22",
            "zsh-3.1.6-dev-21"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1100.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:59.096443259Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html",
        "https://access.redhat.com/errata/RHSA-2018:1932",
        "https://access.redhat.com/errata/RHSA-2018:3073",
        "https://security.gentoo.org/glsa/201805-10",
        "https://usn.ubuntu.com/3764-1/",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1563395",
        "https://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_desktop",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0"
                  },
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_server",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0"
                  },
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_workstation",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0"
                  },
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-1100",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 439238,
  "published_at": "2018-04-11T19:29:01.027+00:00"
}