{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-10940","published":"2018-05-09T17:29:00.290000Z","last_modified":"2026-06-17T01:34:58.430000Z","status":"Modified","cvss":{"version":"3.0","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-119"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_end_excluding":"4.16.6"},{"criteria":"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"7.0"}],"cpes_truncated":false,"vendors":["linux","debian"],"products":["linux/linux_kernel","debian/debian_linux"],"epss":{"score":0.00532,"percentile":0.38443,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2018-10940/","html_en":"/en/cve/CVE-2018-10940/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-10940","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-10940"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"The cdrom_ioctl_media_changed function in drivers/cdrom/cdrom.c in the Linux kernel before 4.16.6 allows local attackers to use a incorrect bounds check in the CDROM driver CDROM_MEDIA_CHANGED ioctl to read out kernel memory.","affected":[],"references":[{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9de4ee40547fd315d4a0ed1dd15a2fa3559ad707","tags":["Patch"]},{"url":"http://www.securityfocus.com/bid/104154","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2948","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2018:3083","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2018:3096","tags":[]},{"url":"https://github.com/torvalds/linux/commit/9de4ee40547fd315d4a0ed1dd15a2fa3559ad707","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/06/msg00000.html","tags":["Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00015.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00016.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html","tags":[]},{"url":"https://usn.ubuntu.com/3676-1/","tags":["Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3676-2/","tags":["Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3695-1/","tags":[]},{"url":"https://usn.ubuntu.com/3695-2/","tags":[]},{"url":"https://usn.ubuntu.com/3754-1/","tags":[]},{"url":"https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.6","tags":["Release Notes"]}]}}