What’s Vulnerable › Vulnerabilities
CVE-2018-16867
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-12-12 · updated 2026-06-17
- Weakness: CWE-362
Description
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: 14.04, 16.04, 18.04, 18.10
- Fedoraproject Fedora: 29
- QEMU: through 3.0.0; 3.1.0-rc0, 3.1.0-rc1, 3.1.0-rc2, 3.1.0-rc3
References
- http://www.securityfocus.com/bid/106195
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16867
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/
- https://usn.ubuntu.com/3923-1/
- https://www.openwall.com/lists/oss-security/2018/12/06/1
- http://www.securityfocus.com/bid/106195
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16867
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/
- https://usn.ubuntu.com/3923-1/
- https://www.openwall.com/lists/oss-security/2018/12/06/1
Get alerted when CVE-2018-16867 or the next vulnerability affects your stack