zsh: buffer overflow in utils.c:checkmailpath() can lead to local arbitrary code execution
Published Apr 11, 2018
7.8
HIGHCVSS 3.1
EPSS 0.53%
Description
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.
Affected products
-
- Version through 5.4.2StatusaffectedConstraints-
- Version
Configuration 2
- 14.04
- 16.04
- 18.04
Configuration 3
- 6.0
- 7.0
- 6.0
- 7.0
- 6.0
- 7.0
No data.
Red Hat Enterprise Linux 6
zsh-0:4.3.11-8.el6
Fixed · RHSA-2018:1932
Red Hat Enterprise Linux 7
zsh-0:5.0.2-31.el7
Fixed · RHSA-2018:3073
Red Hat Enterprise Linux 5
zsh
Will not fix
Red Hat Enterprise Linux 8
zsh
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | zsh-0:4.3.11-8.el6 | Fixed | RHSA-2018:1932 |
| Red Hat Enterprise Linux 7 | zsh-0:5.0.2-31.el7 | Fixed | RHSA-2018:3073 |
| Red Hat Enterprise Linux 5 | zsh | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | zsh | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.53% (0.00532) | 42.87th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.55% (0.00549) | 41.37th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.19% (0.00188) | 38.48th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.55% (0.01547) | 74.98th | v2 (v2022.01.01) |
| Feb 13, 2023 | 1.55% (0.01547) | 74.47th | v2 (v2022.01.01) |
| Feb 3, 2023 | 1.65% (0.01651) | 75.40th | v2 (v2022.01.01) |
| Jan 6, 2023 | 1.55% (0.01547) | 74.30th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.50% (0.01505) | 71.56th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.50% (0.01505) | 50.63th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.55% (0.01554) | 33.66th | v1 |
| Jan 6, 2022 | 1.55% (0.01554) | 32.96th | v1 |
| Sep 1, 2021 | 1.55% (0.01554) | 73.02th | v1 |
| Apr 14, 2021 | 1.55% (0.01554) | 0.00th | v1 |
References (10)
- https://access.redhat.com/errata/RHSA-2018:1932 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3073 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-1100 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1563395 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2018-1100
- https://security.gentoo.org/glsa/201805-10 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/ x_refsource_CONFIRMPatch
- https://usn.ubuntu.com/3764-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-1100
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2018:1932 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/errata/RHSA-2018:3073 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2018-1100 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1563395 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html | mailing-listx_refsource_MLIST | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-1100 | ||
| https://security.gentoo.org/glsa/201805-10 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/ | x_refsource_CONFIRMPatch | |
| https://usn.ubuntu.com/3764-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-1100 |
Change history (0)
No recorded changes yet.