# CVE-2018-6557: Insecure temporary file use in base-files

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-08-21 · Modified: 2024-09-16
- Aliases: UBUNTU-CVE-2018-6557, USN-3748-1
- Record: https://cvemate.com/vulnerability/CVE-2018-6557 · JSON: https://cvemate.com/vulnerability/CVE-2018-6557/json

## Description

```text
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.
```

## Signals

- CVSS: 7 high (v3.1, NVD) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.369%, percentile 32.886%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- base-files\_project base-files: 10.1ubuntu2.2
- canonical ubuntu\_linux: 18.04 \| 18.10
- ubuntu base-files (Ubuntu): \< 10.1ubuntu2.2
- ubuntu base-files: ≥ unspecified, \< 10.1ubuntu2.2

## References

- <https://usn.ubuntu.com/3748-1/>
- <http://www.securitytracker.com/id/1041530>
- <http://www.securityfocus.com/bid/105148>
- <https://ubuntu.com/security/CVE-2018-6557>
- <http://www.sbosnet.nl/>
- <https://ubuntu.com/security/notices/USN-3748-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-6557>

---

Data as of 2026-12-05T03:26:11.816Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
