CVE-2018-16867Qemu
High 7.8
Follow: this CVE · Qemu · Qemu We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 39
- Auth required
- Yes
- Published
- Dec 12, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-362
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
What happens
A flaw was found in qemu Media Transfer Protocol (MTP) before version 3.1.0. A path traversal in the in usb_mtp_write_data function in hw/usb/dev-mtp.c due to an improper filename sanitization. When the guest device is mounted in read-write mode, this allows to read/write arbitrary files which may lead do DoS scenario OR possibly lead to code execution on the host.
What to do
- Apply the vendor's security update for Qemu.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| qemu | qemu | ≤ 3.0.0 |
| qemu | qemu | 3.1.0 |
| qemu | qemu | 3.1.0 |
| qemu | qemu | 3.1.0 |
| qemu | qemu | 3.1.0 |
| fedoraproject | fedora | 29 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 18.10 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- lists.fedoraproject.org
- usn.ubuntu.com Third Party Advisory
- www.openwall.com Mailing List Patch Third Party Advisory