CVE-2018-16867: Canonical Ubuntu Linux
High severity, CVSS 7.8. EPSS: 0.4% chance of exploitation in the next 30 days.
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.
Affected products
- Canonical Ubuntu Linux: version 14.04 only; version 16.04 only; version 18.04 only; version 18.10 only
- Fedoraproject Fedora: version 29 only
- Qemu Qemu: up to and including 3.0.0; version 3.1.0 only
Published 2018-12-12. Last modified 2026-06-17.