cve.bz

CVE-2018-10940

5.5 mediumEPSS 0.5%Fix available

Medium (5.5). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

5.5 medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-10940 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-10940?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-10940?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-10940 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 4.16.6
debian:debian_linux7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7linux3.2.102-1DLA-1392-1
Debian8linux3.16.57-1DLA-1422-1
Debian8linux-4.94.9.110-1~deb8u1DLA-1423-1
Debian12, 13, 14linux4.16.12-1DEBIAN-CVE-2018-10940
Ubuntu14.04:LTSlinux3.13.0-157.207UBUNTU-CVE-2018-10940 USN-3754-1
Ubuntu14.04:LTSlinux-aws4.4.0-1023.23UBUNTU-CVE-2018-10940 USN-3676-2
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-128.154~14.04.1UBUNTU-CVE-2018-10940 USN-3676-2
Ubuntu16.04:LTSlinux4.4.0-128.154UBUNTU-CVE-2018-10940 USN-3676-1
Ubuntu16.04:LTSlinux-aws4.4.0-1061.70UBUNTU-CVE-2018-10940 USN-3676-1
Ubuntu16.04:LTSlinux-gcp, linux-azure4.15.0-1014.14~16.04.1UBUNTU-CVE-2018-10940 USN-3695-2
Ubuntu16.04:LTSlinux-hwe4.15.0-24.26~16.04.1UBUNTU-CVE-2018-10940 USN-3695-2
Ubuntu16.04:LTSlinux-kvm4.4.0-1027.32UBUNTU-CVE-2018-10940 USN-3676-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1091.99UBUNTU-CVE-2018-10940 USN-3676-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1094.99UBUNTU-CVE-2018-10940 USN-3676-1
Ubuntu18.04:LTSlinux4.15.0-24.26UBUNTU-CVE-2018-10940 USN-3695-1
Ubuntu18.04:LTSlinux-aws4.15.0-1011.11UBUNTU-CVE-2018-10940 USN-3695-1
10 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, bpftool and 15 more0:3.10.0-957.el7RHSA-2018:3083
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 22 more0:3.10.0-957.el7RHSA-2018:3083
Red Hatenterprise_linux:7::serverperf, kernel, kernel-alt and 17 more0:4.14.0-115.el7aRHSA-2018:2948
Red Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more0:3.10.0-957.rt56.910.el7RHSA-2018:3096
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS and 2 morekernel-syms, kernel-source, kernel-default4.4.121-92.95.1SUSE-SU-2018:3084-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS and 2 morelttng-modules2.7.1-9.6.1SUSE-SU-2018:3084-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekgraft-patch-SLE12-SP2_Update_251-3.4.1SUSE-SU-2018:3084-1
SUSELinux Enterprise High Availability Extension 12 SP2kernel-default4.4.121-92.95.1SUSE-SU-2018:3084-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Module for Legacy 15, Linux Enterprise Workstation Extension 15kernel-default4.12.14-25.19.1SUSE-SU-2018:2980-1
SUSELinux Enterprise Live Patching 15kernel-default4.12.14-25.19.1SUSE-SU-2018:2981-1
SUSELinux Enterprise Live Patching 15kernel-livepatch-SLE15_Update_51-1.3.1SUSE-SU-2018:2981-1
SUSELinux Enterprise Module for Basesystem 15kernel-source, kernel-default, kernel-zfcpdump4.12.14-25.19.1SUSE-SU-2018:2980-1
SUSELinux Enterprise Module for Development Tools 15kernel-docs, kernel-syms, kernel-source and 2 more4.12.14-25.19.1SUSE-SU-2018:2980-1
SUSELinux Enterprise Module for Public Cloud 12kernel-ec23.12.61-52.146.1SUSE-SU-2018:3083-1
SUSELinux Enterprise Module for Public Cloud 12kernel-ec23.12.74-60.64.104.1SUSE-SU-2018:2908-1
SUSELinux Enterprise Module for Public Cloud 15kernel-azure, kernel-syms-azure, kernel-source-azure4.12.14-5.16.1SUSE-SU-2018:3961-1
12 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-957.rt56.910.el7Fixed 2018-10-30RHSA-2018:3096
Red Hat Enterprise Linux 7kernel-alt-0:4.14.0-115.el7aFixed 2018-10-30RHSA-2018:2948
Red Hat Enterprise Linux 7kernel-0:3.10.0-957.el7Fixed 2018-10-30RHSA-2018:3083
Red Hat Enterprise Linux 5kernelWill not fix
Red Hat Enterprise Linux 6kernelFix deferred
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise MRG 2realtime-kernelFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-10940.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON