Medium severity5.3NVD Advisory· Published Dec 13, 2018· Updated Jun 17, 2026
CVE-2018-16872
CVE-2018-16872
Description
A flaw was found in qemu Media Transfer Protocol (MTP). The code opening files in usb_mtp_get_object and usb_mtp_get_partial_object and directories in usb_mtp_object_readdir doesn't consider that the underlying filesystem may have changed since the time lstat(2) was called in usb_mtp_object_alloc, a classical TOCTTOU problem. An attacker with write access to the host filesystem shared with a guest can use this property to navigate the host filesystem in the context of the QEMU process and read any file the QEMU process has access to. Access to the filesystem may be local or via a network share protocol such as CIFS.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
28cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*+ 3 more
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
- osv-coords16 versionspkg:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSSpkg:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1pkg:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015pkg:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015pkg:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/qemu&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/qemu&distro=SUSE%20Enterprise%20Storage%204pkg:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4pkg:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/qemu&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4pkg:rpm/opensuse/qemu&distro=openSUSE%20Tumbleweed
< 2.3.1-33.20.1+ 15 more
- (no CPE)range: < 2.3.1-33.20.1
- (no CPE)range: < 2.3.1-33.20.1
- (no CPE)range: < 2.11.2-9.20.1
- (no CPE)range: < 2.11.2-9.20.1
- (no CPE)range: < 2.6.2-41.49.1
- (no CPE)range: < 2.9.1-6.28.1
- (no CPE)range: < 2.6.2-41.49.1
- (no CPE)range: < 2.6.2-41.49.1
- (no CPE)range: < 2.6.2-41.49.1
- (no CPE)range: < 2.6.2-41.49.1
- (no CPE)range: < 2.11.2-5.8.1
- (no CPE)range: < 2.11.2-5.8.1
- (no CPE)range: < 2.9.1-6.28.1
- (no CPE)range: < 2.9.1-6.28.1
- (no CPE)range: < 2.11.2-5.8.1
- (no CPE)range: < 6.1.0-32.1
Patches
Vulnerability mechanics
References
9- bugzilla.redhat.com/show_bug.cginvdIssue TrackingPatchThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-03/msg00042.htmlnvdMailing ListThird Party Advisory
- www.securityfocus.com/bid/106212nvdThird Party AdvisoryVDB Entry
- lists.debian.org/debian-lts-announce/2019/02/msg00041.htmlnvdMailing ListThird Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/nvdThird Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJMTVGDLA654HNCDGLCUEIP36SNJEKK7/nvdThird Party Advisory
- seclists.org/bugtraq/2019/May/76nvdMailing ListThird Party Advisory
- usn.ubuntu.com/3923-1/nvdThird Party Advisory
- www.debian.org/security/2019/dsa-4454nvdThird Party Advisory
News mentions
0No linked articles in our index yet.