CVE-2018-0502: canonical ubuntu_linux Improper Input Validation
CVSS: 9.8v3.0CriticalModified
AliasesUBUNTU-CVE-2018-0502DEBIAN-CVE-2018-0502
Published 05-09-2018Last modified 05-08-2024
Vulnerability summary
CVE-2018-0502 is a critical (CVSS 9.8) Improper Input Validation vulnerability in canonical ubuntu_linux. EPSS estimates a 2.49% chance of exploitation in the next 30 days, higher than 84.4% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.0 (NVD)EPSS score
2.49%
0%100%
Low · +0.21 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 6 · Related 5Timeline
- 05-09-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
An issue was discovered in zsh before 5.6. The beginning of a #! script file was mishandled, potentially leading to an execve call to a program named on the second line.
CVSS metrics
4 scores · 3 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
2.49%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
+0.21 pp
From 2.28% on 21-09-2026
21-09-202621-10-2026
EPSS score2.49%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 18.04
Debian1 product
- zsh< 5.6-1
Ubuntu1 product
- zsh< 5.0.2-3ubuntu6.3 | < 5.1.1-1ubuntu2.3 | < 5.4.2-3ubuntu3.1
Zsh1 product
- zsh< 5.6
4 vendors · 4 products
References
10 links- sourceforge.net/p/zsh/code/ci/1c4c7b6a4d17294df028322b70c53803a402233dX Refsource MISCPatchThird Party Advisory