CVE-2018-1071: canonical ubuntu_linux Stack-based Buffer Overflow
CVSS: 5.5v3.1MediumModified
AliasesALPINE-CVE-2018-1071UBUNTU-CVE-2018-1071DEBIAN-CVE-2018-1071
Published 09-03-2018Last modified 05-08-2024
Vulnerability summary
CVE-2018-1071 is a medium (CVSS 5.5) Stack-based Buffer Overflow vulnerability in canonical ubuntu_linux. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 35.9% of scored vulnerabilities.
CVSS score
5.5/10
010
Medium · v3.1 (NVD)EPSS score
0.43%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 9 · Related 5Timeline
- 09-03-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 3 versionsMedium 5.5Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HSourcesAll 4 agree
- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Medium 5.5Preferred score · OSV · Ubuntu (Ecosystem advisory) · calculated from vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HSourcesSingle source
Low 2.1Preferred score · NVD (NIST)
AV:L/AC:L/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
36%
Versus all other CVEs
30-day change
0.00 pp
From 0.43% on 21-09-2026
21-09-202621-10-2026
EPSS score0.43%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Redhat3 products
Debian2 products
- zsh< 5.4.2-4
- debian_linuxEOL7.0
Alpine1 product
- zsh< 5.4.2-r1 | < 5.2-r2 | < 5.2-r4 | < 5.3.1-r1
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 17.10
Ubuntu1 product
- zsh< 5.0.2-3ubuntu6.2 | < 5.1.1-1ubuntu2.2
Zsh1 product
- zsh5.4.2 | ≤ 5.4.2
6 vendors · 9 products
References
12 links- lists.debian.org/debian-lts-announce/2018/03/msg00038.htmlMailing ListX Refsource MLISTThird Party Advisory