zsh: Stack-based buffer overflow in exec.c:hashcmd()
Published Mar 9, 2018
5.5
MEDIUMCVSS 3.1
EPSS 0.43%
Description
zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the exec.c:hashcmd() function. A local attacker could exploit this to cause a denial of service.
Affected products
-
- Version 5.4.2StatusaffectedConstraints-
- Version
Configuration 2
- 7.0
Configuration 3
- 14.04
- 16.04
- 17.10
Configuration 4
- 7.0
- 7.0
- 7.0
No data.
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 6
zsh
Will not fix
Red Hat Enterprise Linux 8
zsh
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| 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 6 | 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:N/I:N/A:H
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
AV:L/AC:L/Au:N/C:N/I:N/A:P
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 v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.43% (0.00428) | 34.68th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.45% (0.00446) | 35.32th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.06% (0.00063) | 17.04th | 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.03% (0.01034) | 41.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.03% (0.01034) | 20.32th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.10% (0.01105) | 29.08th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.10% (0.01105) | 0.00th | v1 |
References (10)
- http://www.securityfocus.com/bid/103359 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:3073 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-1071 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1553531 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/03/msg00038.html mailing-listx_refsource_MLISTMailing ListThird 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-1071
- https://security.gentoo.org/glsa/201805-10 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://usn.ubuntu.com/3608-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-1071
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/103359 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2018:3073 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2018-1071 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1553531 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2018/03/msg00038.html | mailing-listx_refsource_MLISTMailing ListThird 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-1071 | ||
| https://security.gentoo.org/glsa/201805-10 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://usn.ubuntu.com/3608-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-1071 |
Change history (0)
No recorded changes yet.