nday
CVE-2018-16872

QEMU: race conditionTitle composed by nday; the CVE record has none.

[UNKNOWN] / QEMU:

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. None of the four PoC sources lists it. Not in CISA KEV.

tags weakness typerace condition accesslocalno user interaction productQEMU product typevirtualization / containers
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

race condition
CWE-367, stated by the CNA redhat, NVD's analysts, and NVD, republishing [email protected]
local
AV:L in CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L (CVSS 3.0) from the CNA redhat
no user interaction
UI:N in CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L (CVSS 3.0) from the CNA redhat
QEMU
CPE names NVD's analysts give as vulnerable: a:qemu:qemu
virtualization / containers
CPE names NVD's analysts give as vulnerable: a:qemu:qemuthe product type of QEMU in nday's product registry
stage
DIS
disclosed
cvss
5.0 MEDIUM v3.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2018-12-13T21:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:H
High: administrative or similar privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L

CVSS 3.0 vector from the CVE record, scored by the CNA redhat.

Event log

+DISdisclosed

CVE record published by redhat. CVSS 5, medium.

src cvelist · nday , bulk import · raw
{
  "id": 189985,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2018-16872",
  "occurred_at": "2018-12-13T21:00:00Z",
  "observed_at": "2026-11-13T05:36:47.820051Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L",
      "version": "3.0",
      "base_score": 5,
      "base_severity": "MEDIUM"
    },
    "state": "PUBLISHED",
    "date_published": "2018-12-13T21:00:00.000Z",
    "assigner_short_name": "redhat"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.