CVE-2018-1100
zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the utils.c...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2018-1100- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-120, CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-1100- Weakness
- CWE-120
- Updated
- 2026-11-02
EUVDEUVD-2018-11748 No score
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.
- Record
EUVD-2018-11748- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hwhr-jcvf-mgf3
7.8
zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the utils.c...
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.
- Record
GHSA-hwhr-jcvf-mgf3- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-120, CWE-787
- Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2018-1100- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-1100
7.8
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.
- Record
DEBIAN-CVE-2018-1100- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSVRHSA-2018:1932
7.5
Red Hat Security Advisory: zsh security update
- Record
RHSA-2018:1932- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2018:3073
7.5
Red Hat Security Advisory: zsh security and bug fix update
- Record
RHSA-2018:3073- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-1100
7.8
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.
- Record
UBUNTU-CVE-2018-1100- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11543-1 No score
zsh-5.8-7.7 on GA media
These are all security issues fixed in the zsh-5.8-7.7 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11543-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1037-1 No score
Security update for zsh
This update for zsh fixes the following issues:
- CVE-2018-1100: Fixed a buffer overflow in utils.c:checkmailpath() that could lead to local arbitrary code execution ( bsc#1089030)
- Record
SUSE-SU-2018:1037-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1874-1 No score
Security update for zsh
This update for zsh to version 5.5 fixes the following issues:
Security issues fixed:
- CVE-2018-1100: Fixes a buffer overflow in utils.c:checkmailpath() that can lead to local arbitrary code execution (bsc#1089030)
- CVE-2018-1071: Fixed a stack-based buffer overflow in exec.c:hashcmd() (bsc#1084656)
- CVE-2018-1083: Fixed a stack-based buffer overflow in gen_matches_files() at compctl.c (bsc#1087026)
Non-security issues fixed:
- The effect of the NO_INTERACTIVE_COMMENTS option extends into $(...)
and
...command substitutions when used on the command line. - The 'exec' and 'command' precommand modifiers, and options to them, are now parsed after parameter expansion.
- Functions executed by ZLE widgets no longer have their standard input closed, but redirected from /dev/null instead.
- There is an option WARN_NESTED_VAR, a companion to the existing WARN_CREATE_GLOBAL that causes a warning if a function updates a variable from an enclosing scope without using typeset -g.
- zmodload now has an option -s to be silent on a failure to find a module but still print other errors.
- Record
SUSE-SU-2018:1874-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:0733-1 No score
Security update for zsh
This update for zsh fixes the following issues:
- CVE-2021-45444: Fixed a vulnerability where arbitrary shell commands could be executed related to prompt expansion (bsc#1196435).
- CVE-2019-20044: Fixed a vulnerability where shell privileges would not be properly dropped when unsetting the PRIVILEGED option (bsc#1163882).
- CVE-2018-1100: Fixed a potential code execution via a stack-based buffer overflow in utils.c:checkmailpath() (bsc#1089030).
- Record
SUSE-SU-2022:0733-1- Updated
- 2026-11-02
OSVUSN-3764-1 No score
zsh vulnerabilities
It was discovered that Zsh incorrectly handled certain scripts. An attacker could possibly use this issue to execute arbitrary code. (CVE-2018-0502, CVE-2018-13259)
Richard Maciel Costa discovered that Zsh incorrectly handled certain scripts. An attacker could possibly use this issue to execute arbitrary code. (CVE-2018-1100)
- Record
USN-3764-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
zshDebian:12 |
before 5.5-1 | 5.5-1 |
zshDebian:13 |
before 5.5-1 | 5.5-1 |
zshDebian:14 |
before 5.5-1 | 5.5-1 |
zshDebian:9 |
before 5.3.1-4+deb9u1, plus listed versions 5.3.1-4 |
5.3.1-4+deb9u1 |
zsh-debuginfoRed Hat:enterprise_linux:6::client |
before 0:4.3.11-8.el6 | 0:4.3.11-8.el6 |
zsh-htmlRed Hat:enterprise_linux:6::client |
before 0:4.3.11-8.el6 | 0:4.3.11-8.el6 |
zshRed Hat:enterprise_linux:6::client |
before 0:4.3.11-8.el6 | 0:4.3.11-8.el6 |
zsh-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:4.3.11-8.el6 | 0:4.3.11-8.el6 |
zsh-htmlRed Hat:enterprise_linux:6::computenode |
before 0:4.3.11-8.el6 | 0:4.3.11-8.el6 |
zshRed Hat:enterprise_linux:6::computenode |
before 0:4.3.11-8.el6 | 0:4.3.11-8.el6 |
Show 38 moreShow less
| Package | Affected | Fixed |
|---|---|---|
zsh-debuginfoRed Hat:enterprise_linux:6::server |
before 0:4.3.11-8.el6 | 0:4.3.11-8.el6 |
zsh-htmlRed Hat:enterprise_linux:6::server |
before 0:4.3.11-8.el6 | 0:4.3.11-8.el6 |
zshRed Hat:enterprise_linux:6::server |
before 0:4.3.11-8.el6 | 0:4.3.11-8.el6 |
zsh-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:4.3.11-8.el6 | 0:4.3.11-8.el6 |
zsh-htmlRed Hat:enterprise_linux:6::workstation |
before 0:4.3.11-8.el6 | 0:4.3.11-8.el6 |
zshRed Hat:enterprise_linux:6::workstation |
before 0:4.3.11-8.el6 | 0:4.3.11-8.el6 |
zshRed Hat:enterprise_linux:7::client |
before 0:5.0.2-31.el7 | 0:5.0.2-31.el7 |
zsh-debuginfoRed Hat:enterprise_linux:7::client |
before 0:5.0.2-31.el7 | 0:5.0.2-31.el7 |
zsh-htmlRed Hat:enterprise_linux:7::client |
before 0:5.0.2-31.el7 | 0:5.0.2-31.el7 |
zshRed Hat:enterprise_linux:7::computenode |
before 0:5.0.2-31.el7 | 0:5.0.2-31.el7 |
zsh-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:5.0.2-31.el7 | 0:5.0.2-31.el7 |
zsh-htmlRed Hat:enterprise_linux:7::computenode |
before 0:5.0.2-31.el7 | 0:5.0.2-31.el7 |
zshRed Hat:enterprise_linux:7::server |
before 0:5.0.2-31.el7 | 0:5.0.2-31.el7 |
zsh-debuginfoRed Hat:enterprise_linux:7::server |
before 0:5.0.2-31.el7 | 0:5.0.2-31.el7 |
zsh-htmlRed Hat:enterprise_linux:7::server |
before 0:5.0.2-31.el7 | 0:5.0.2-31.el7 |
zshRed Hat:enterprise_linux:7::workstation |
before 0:5.0.2-31.el7 | 0:5.0.2-31.el7 |
zsh-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:5.0.2-31.el7 | 0:5.0.2-31.el7 |
zsh-htmlRed Hat:enterprise_linux:7::workstation |
before 0:5.0.2-31.el7 | 0:5.0.2-31.el7 |
zshSUSE:Linux Enterprise Server 11 SP4 |
before 4.3.6-67.9.3.1 | 4.3.6-67.9.3.1 |
zshSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 4.3.6-67.9.3.1 | 4.3.6-67.9.3.1 |
zshSUSE:Linux Enterprise Module for Basesystem 15 |
before 5.5-3.3.15 | 5.5-3.3.15 |
zshSUSE:HPE Helion OpenStack 8 |
before 5.0.5-6.19.1 | 5.0.5-6.19.1 |
zshSUSE:OpenStack Cloud 8 |
before 5.0.5-6.19.1 | 5.0.5-6.19.1 |
zshSUSE:OpenStack Cloud 9 |
before 5.0.5-6.19.1 | 5.0.5-6.19.1 |
zshSUSE:OpenStack Cloud Crowbar 8 |
before 5.0.5-6.19.1 | 5.0.5-6.19.1 |
zshSUSE:OpenStack Cloud Crowbar 9 |
before 5.0.5-6.19.1 | 5.0.5-6.19.1 |
zshSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 5.0.5-6.19.1 | 5.0.5-6.19.1 |
zshSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 5.0.5-6.19.1 | 5.0.5-6.19.1 |
zshSUSE:Linux Enterprise Server 12 SP2-BCL |
before 5.0.5-6.19.1 | 5.0.5-6.19.1 |
zshSUSE:Linux Enterprise Server 12 SP3-LTSS |
before 5.0.5-6.19.1 | 5.0.5-6.19.1 |
zshSUSE:Linux Enterprise Server 12 SP3-BCL |
before 5.0.5-6.19.1 | 5.0.5-6.19.1 |
zshSUSE:Linux Enterprise Server 12 SP4-LTSS |
before 5.0.5-6.19.1 | 5.0.5-6.19.1 |
zshSUSE:Linux Enterprise Server 12 SP5 |
before 5.0.5-6.19.1 | 5.0.5-6.19.1 |
zshSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 5.0.5-6.19.1 | 5.0.5-6.19.1 |
zshUbuntu:14.04:LTS |
before 5.0.2-3ubuntu6.3, plus listed versions 5.0.2-3ubuntu65.0.2-3ubuntu6.15.0.2-3ubuntu6.2 |
5.0.2-3ubuntu6.3 |
zshUbuntu:16.04:LTS |
before 5.1.1-1ubuntu2.3, plus listed versions 5.1.1-1ubuntu15.1.1-1ubuntu25.1.1-1ubuntu2.15.1.1-1ubuntu2.2 |
5.1.1-1ubuntu2.3 |
zshUbuntu:18.04:LTS |
before 5.4.2-3ubuntu3.1, plus listed versions 5.2-5ubuntu15.4.2-3ubuntu15.4.2-3ubuntu25.4.2-3ubuntu3 |
5.4.2-3ubuntu3.1 |
zshopenSUSE:Tumbleweed |
before 5.8-7.7 | 5.8-7.7 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-1100 is a high vulnerability (CVSS 7.8) in Zsh, published April 11, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.53%, the 45th percentile. Fixed in zsh 5.5-1.
References
sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f
usn.ubuntu.com/3764-1
security.gentoo.org/glsa/201805-10
access.redhat.com/errata/RHSA-2018:1932
bugzilla.redhat.com/show_bug.cgi?id=1563395
access.redhat.com/errata/RHSA-2018:3073
Show 60 moreShow less
lists.debian.org/debian-lts-announce/2020/12/msg00000.html
nvd.nist.gov/vuln/detail/CVE-2018-1100
access.redhat.com/security/cve/CVE-2018-1100
github.com/advisories/GHSA-hwhr-jcvf-mgf3
security-tracker.debian.org/tracker/CVE-2018-1100
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-US/red_hat_enterprise_linux/6/html/6.10_release_notes/index.html
access.redhat.com/documentation/en-US/red_hat_enterprise_linux/6/html/6.10_technical_notes/index.html
bugzilla.redhat.com/show_bug.cgi?id=1549836
bugzilla.redhat.com/show_bug.cgi?id=1549861
bugzilla.redhat.com/show_bug.cgi?id=1557382
security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_1932.json
access.redhat.com/security/cve/CVE-2014-10072
cve.org/CVERecord?id=CVE-2014-10072
nvd.nist.gov/vuln/detail/CVE-2014-10072
access.redhat.com/security/cve/CVE-2017-18206
cve.org/CVERecord?id=CVE-2017-18206
nvd.nist.gov/vuln/detail/CVE-2017-18206
access.redhat.com/security/cve/CVE-2018-1083
cve.org/CVERecord?id=CVE-2018-1083
nvd.nist.gov/vuln/detail/CVE-2018-1083
cve.org/CVERecord?id=CVE-2018-1100
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.6_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=1549855
bugzilla.redhat.com/show_bug.cgi?id=1549858
bugzilla.redhat.com/show_bug.cgi?id=1549862
bugzilla.redhat.com/show_bug.cgi?id=1553531
security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_3073.json
access.redhat.com/security/cve/CVE-2014-10071
cve.org/CVERecord?id=CVE-2014-10071
nvd.nist.gov/vuln/detail/CVE-2014-10071
access.redhat.com/security/cve/CVE-2017-18205
cve.org/CVERecord?id=CVE-2017-18205
nvd.nist.gov/vuln/detail/CVE-2017-18205
access.redhat.com/security/cve/CVE-2018-1071
cve.org/CVERecord?id=CVE-2018-1071
nvd.nist.gov/vuln/detail/CVE-2018-1071
access.redhat.com/security/cve/CVE-2018-7549
cve.org/CVERecord?id=CVE-2018-7549
nvd.nist.gov/vuln/detail/CVE-2018-7549
suse.com/support/update/announcement/2018/suse-su-20181037-1
bugzilla.suse.com/1089030
suse.com/security/cve/CVE-2018-1100
suse.com/support/update/announcement/2018/suse-su-20181874-1
bugzilla.suse.com/1084656
bugzilla.suse.com/1087026
suse.com/security/cve/CVE-2018-1071
suse.com/security/cve/CVE-2018-1083
suse.com/support/update/announcement/2022/suse-su-20220733-1
bugzilla.suse.com/1163882
bugzilla.suse.com/1196435
suse.com/security/cve/CVE-2019-20044
suse.com/security/cve/CVE-2021-45444
ubuntu.com/security/CVE-2018-1100
zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=42607
ubuntu.com/security/notices/USN-3764-1
ubuntu.com/security/CVE-2018-0502
ubuntu.com/security/CVE-2018-13259
suse.com/security/cve/CVE-2018-0502
suse.com/security/cve/CVE-2018-13259