CVE-2018-16872: Medium severity Qemu Qemu vulnerability

Published Dec 13, 2018
·
Updated

A flaw was found in qemu Media Transfer Protocol (MTP). The code opening files in usbmtpgetobject and usbmtpgetpartialobject and directories in usbmtpobjectreaddir doesn't consider that the underlying filesystem may have changed since the time lstat(2) was called in usbmtpobjectalloc, 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 Software

11 affected componentsFixes available
Qemu Qemu<=3.1.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Fedoraproject Fedora=29
Fedoraproject Fedora=30
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
openSUSE Leap=42.3
debian/qemu
1:5.2+dfsg-11+deb11u31:5.2+dfsg-11+deb11u51:7.2+dfsg-7+deb12u181:7.2+dfsg-7+deb12u151:10.0.7+ds-0+deb13u11:10.0.2+ds-2+deb13u11:10.2.1+ds-1

Event History

Dec 13, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionSeverityWeakness
Jan 11, 2024
Data Sourced
via Launchpad·10:54 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·05:44 PM
RemedyDescriptionSeverityAffected Software
Feb 23, 2026
Data Sourced
via Debian·04:00 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-16872?

CVE-2018-16872 is classified as a medium severity vulnerability.

2

How do I fix CVE-2018-16872?

To fix CVE-2018-16872, upgrade to the patched version of QEMU as specified in your distribution's security advisories.

3

Which software is affected by CVE-2018-16872?

CVE-2018-16872 affects multiple versions of QEMU running on various Linux distributions including Debian and Fedora.

4

What type of vulnerability is CVE-2018-16872?

CVE-2018-16872 is a flaw related to file handling in the Media Transfer Protocol implementation of QEMU.

5

Can CVE-2018-16872 lead to data loss?

Yes, CVE-2018-16872 may potentially lead to data loss due to improper file handling.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203