CVE-2018-6557
Insecure temporary file use in base-files
Reported by canonical · Published August 21, 2018
The MOTD update script in the base-files package in Ubuntu 18.04 LTS before 10.1ubuntu2.2, and Ubuntu 18.10 before 10.1ubuntu6 incorrectly handled temporary files. A local attacker could use this issue to cause a denial of service, or possibly escalate privileges if kernel symlink restrictions were disabled.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| base-files | Ubuntu:18.04:LTS | 10.1ubuntu2.2 |
| base-files | Ubuntu | 10.1ubuntu2.2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu | base-files | unspecified |
| Ubuntu | base-files | * |
Timeline
- Aug 21, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (2 in total, the first dated here)
- Sep 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-6557
vulnetix vdb fixes CVE-2018-6557
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-6557/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3748-1 vendor-advisoryx_refsource_UBUNTU
- 1041530 vdb-entryx_refsource_SECTRACK
- 105148 vdb-entryx_refsource_BID