cve.bz

CVE-2018-18386 Incorrect Type Conversion or Cast

3.3 lowEPSS 0.4%Fix available

Low (3.3). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
drivers/tty/n_tty.c in the Linux kernel before 4.14.11 allows local attackers (who are able to access pseudo terminals) to hang/block further usage of any pseudo terminal devices due to an EXTPROC versus ICANON confusion in TIOCINQ.

Severity

CVSS 3.0

3.3 low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 36th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-704 Incorrect Type Conversion or Cast
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-18386 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-18386?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-18386?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-18386 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.14.11
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux4.14.12-1DEBIAN-CVE-2018-18386
Ubuntu14.04:LTSlinux3.13.0-164.214UBUNTU-CVE-2018-18386 USN-3849-1
Ubuntu14.04:LTSlinux-aws4.4.0-1016.16UBUNTU-CVE-2018-18386
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-119.143~14.04.1UBUNTU-CVE-2018-18386
Ubuntu16.04:LTSlinux4.4.0-119.143UBUNTU-CVE-2018-18386
Ubuntu16.04:LTSlinux-aws4.4.0-1054.63UBUNTU-CVE-2018-18386
Ubuntu16.04:LTSlinux-azure4.15.0-1013.13~16.04.2UBUNTU-CVE-2018-18386
Ubuntu16.04:LTSlinux-gcp4.15.0-1014.14~16.04.1UBUNTU-CVE-2018-18386
Ubuntu16.04:LTSlinux-hwe4.15.0-24.26~16.04.1UBUNTU-CVE-2018-18386
Ubuntu16.04:LTSlinux-kvm4.4.0-1020.25UBUNTU-CVE-2018-18386
Ubuntu16.04:LTSlinux-raspi24.4.0-1086.94UBUNTU-CVE-2018-18386
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1088.93UBUNTU-CVE-2018-18386
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 1 moreno fix listedUBUNTU-CVE-2018-18386
3 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::serverperf, kernel, kernel-alt and 17 more0:4.14.0-115.7.1.el7aRHSA-2019:0831
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.101.1SUSE-SU-2019:0439-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_271-3.3.1SUSE-SU-2019:0439-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3kernel-syms, kernel-source, kernel-default4.4.162-94.69.2SUSE-SU-2018:3689-1
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4kernel-syms, kernel-source, kernel-default4.12.14-95.3.1SUSE-SU-2018:4069-1
SUSELinux Enterprise High Availability Extension 12 SP2kernel-default4.4.121-92.101.1SUSE-SU-2019:0439-1
SUSELinux Enterprise High Availability Extension 12 SP3, Linux Enterprise Workstation Extension 12 SP3kernel-default4.4.162-94.69.2SUSE-SU-2018:3689-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Workstation Extension 12 SP4kernel-default4.12.14-95.3.1SUSE-SU-2018:4069-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Module for Legacy 15, Linux Enterprise Workstation Extension 15kernel-default4.12.14-25.25.1SUSE-SU-2018:3589-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_211-4.5.2SUSE-SU-2018:3688-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_5, kgraft-patch-SLE12-SP3_Update_6, kgraft-patch-SLE12-SP3_Update_711-2.1SUSE-SU-2018:3865-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_11-7.1SUSE-SU-2018:4072-1
SUSELinux Enterprise Live Patching 15kernel-default4.12.14-25.25.1SUSE-SU-2018:3593-1
38 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 Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-alt-0:4.14.0-115.7.1.el7aFixed 2019-04-23RHSA-2019:0831
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise MRG 2kernel-rtNot affected

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-18386.

References

Check your stackJSON