QEMU: usb-mtp: path traversal by host filesystem manipulation in Media Transfer Protocol (MTP)
Published Dec 13, 2018
5.3
MEDIUMCVSS 3.1
EPSS 1.07%
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.
Affected products
- Vendor n/a Product QEMU: Defaultn/a
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||
|---|---|---|---|---|---|---|
| n/a | QEMU: | n/a |
|
Configuration 2
- 8.0
- 9.0
Configuration 3
- 29
- 30
Configuration 4
- 14.04
- 16.04
- 18.04
- 18.10
No data.
Red Hat Enterprise Linux 5
kvm
Not affected
Red Hat Enterprise Linux 5
xen
Not affected
Red Hat Enterprise Linux 6
qemu-kvm
Not affected
Red Hat Enterprise Linux 7
qemu-kvm
Not affected
Red Hat Enterprise Linux 7
qemu-kvm-ma
Not affected
Red Hat Enterprise Linux 7
qemu-kvm-rhev
Not affected
Red Hat Enterprise Linux 8
qemu-kvm
Not affected
Red Hat OpenStack Platform 10 (Newton)
qemu-kvm-rhev
Not affected
Red Hat OpenStack Platform 12 (Pike)
qemu-kvm-rhev
Not affected
Red Hat OpenStack Platform 13 (Queens)
qemu-kvm-rhev
Not affected
Red Hat OpenStack Platform 14 (Rocky)
qemu-kvm-rhev
Not affected
Red Hat OpenStack Platform 8 (Liberty)
qemu-kvm-rhev
Not affected
Red Hat OpenStack Platform 9 (Mitaka)
qemu-kvm-rhev
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | kvm | Not affected | n/a |
| Red Hat Enterprise Linux 5 | xen | Not affected | n/a |
| Red Hat Enterprise Linux 6 | qemu-kvm | Not affected | n/a |
| Red Hat Enterprise Linux 7 | qemu-kvm | Not affected | n/a |
| Red Hat Enterprise Linux 7 | qemu-kvm-ma | Not affected | n/a |
| Red Hat Enterprise Linux 7 | qemu-kvm-rhev | Not affected | n/a |
| Red Hat Enterprise Linux 8 | qemu-kvm | Not affected | n/a |
| Red Hat OpenStack Platform 10 (Newton) | qemu-kvm-rhev | Not affected | n/a |
| Red Hat OpenStack Platform 12 (Pike) | qemu-kvm-rhev | Not affected | n/a |
| Red Hat OpenStack Platform 13 (Queens) | qemu-kvm-rhev | Not affected | n/a |
| Red Hat OpenStack Platform 14 (Rocky) | qemu-kvm-rhev | Not affected | n/a |
| Red Hat OpenStack Platform 8 (Liberty) | qemu-kvm-rhev | Not affected | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) | qemu-kvm-rhev | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L
AV:N/AC:M/Au:S/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.07% (0.01075) | 63.80th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.07% (0.01075) | 60.49th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.18% (0.00177) | 36.83th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.14% (0.00135) | 50.43th | v3 (v2023.03.01) |
| Jun 14, 2024 | 0.27% (0.00266) | 67.75th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.28% (0.00276) | 67.24th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.28% (0.00280) | 64.41th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.16% (0.00163) | 51.11th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.28% (0.01282) | 68.34th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.28% (0.01282) | 41.72th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.07% (0.02069) | 50.36th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.07% (0.02069) | 0.00th | v1 |
References (13)
- http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00042.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/106212 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-16872 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1656114 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16872 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/ vendor-advisoryx_refsource_FEDORAThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJMTVGDLA654HNCDGLCUEIP36SNJEKK7/ vendor-advisoryx_refsource_FEDORAThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-16872
- https://seclists.org/bugtraq/2019/May/76 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://usn.ubuntu.com/3923-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-16872
- https://www.debian.org/security/2019/dsa-4454 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.