cve.bz

CVE-2018-1120 Heap-based Buffer Overflow

5.3 mediumExploitEPSS 7.1%Fix available

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

On this page
A flaw was found affecting the Linux kernel before version 4.17. By mmap()ing a FUSE-backed file onto a process's memory containing command line arguments (or environment strings), an attacker can cause utilities from psutils or procps (such as ps, w) or any other program which makes a read() call to the /proc/<pid>/cmdline (or /proc/<pid>/environ) files to block indefinitely (denial of service) or for some controlled time (as a synchronization primitive for other attacks).

Severity

CVSS 3.0

5.3 medium
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
7.1% (unchanged from 7.1% a week ago; 7.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-122 Heap-based Buffer Overflow
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-1120 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1120?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1120?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-1120 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.17
redhat:virtualization_host4.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation7.0
debian:debian_linux8.0
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8linux-4.94.9.110-1~deb8u1DLA-1423-1
Debian12, 13, 14linux4.16.12-1DEBIAN-CVE-2018-1120
Ubuntu14.04:LTSlinux-aws4.4.0-1039.42UBUNTU-CVE-2018-1120 USN-3910-2
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-143.169~14.04.2UBUNTU-CVE-2018-1120 USN-3910-2
Ubuntu16.04:LTSlinux4.4.0-143.169UBUNTU-CVE-2018-1120 USN-3910-1
Ubuntu16.04:LTSlinux-aws4.4.0-1077.87UBUNTU-CVE-2018-1120 USN-3910-1
Ubuntu16.04:LTSlinux-azure4.15.0-1022.22~16.04.1UBUNTU-CVE-2018-1120 USN-3752-3
Ubuntu16.04:LTSlinux-gcp4.15.0-1018.19~16.04.2UBUNTU-CVE-2018-1120 USN-3752-3
Ubuntu16.04:LTSlinux-hwe4.15.0-33.36~16.04.1UBUNTU-CVE-2018-1120 USN-3752-2
Ubuntu16.04:LTSlinux-kvm4.4.0-1041.47UBUNTU-CVE-2018-1120 USN-3910-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1104.112UBUNTU-CVE-2018-1120 USN-3910-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1108.113UBUNTU-CVE-2018-1120 USN-3910-1
Ubuntu18.04:LTSlinux4.15.0-33.36UBUNTU-CVE-2018-1120 USN-3752-1
Ubuntu18.04:LTSlinux-aws, linux-kvm4.15.0-1020.20UBUNTU-CVE-2018-1120 USN-3752-1
11 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 Hatenterprise_mrg:2:server:el6kernel-rt, kernel-rt-doc, kernel-rt-debug and 12 more1:3.10.0-693.76.1.rt56.676.el6rtRHSA-2020:3810
Red Hatrhel_aus:7.4::server, rhel_tus:7.4::serverperf, kernel, kernel-doc and 14 more0:3.10.0-693.76.1.el7RHSA-2020:3804
Red Hatrhel_e4s:7.4::serverperf, kernel, kernel-doc and 16 more0:3.10.0-693.76.1.el7RHSA-2020:3804
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.109.2SUSE-SU-2019:1287-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_291-3.5.2SUSE-SU-2019:1287-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.175-94.79.1SUSE-SU-2019:0541-1
SUSELinux Enterprise High Availability Extension 12 SP2kernel-default4.4.121-92.109.2SUSE-SU-2019:1287-1
SUSELinux Enterprise High Availability Extension 12 SP3, Linux Enterprise Workstation Extension 12 SP3kernel-default4.4.175-94.79.1SUSE-SU-2019:0541-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15, Linux Enterprise Module for Legacy 15 and 1 morekernel-default4.12.14-25.3.1SUSE-SU-2018:2092-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_231-4.7.1SUSE-SU-2019:0541-1
SUSELinux Enterprise Live Patching 15kernel-livepatch-SLE15_Update_11-1.3.1SUSE-SU-2018:2092-1
SUSELinux Enterprise Module for Basesystem 15kernel-source, kernel-default, kernel-zfcpdump4.12.14-25.3.1SUSE-SU-2018:2092-1
SUSELinux Enterprise Module for Development Tools 15kernel-docs, kernel-syms, kernel-source and 2 more4.12.14-25.3.1SUSE-SU-2018:2092-1
SUSELinux Enterprise Real Time 12 SP3kernel-rt, kernel-rt_debug4.4.170-3.32.2SUSE-SU-2019:0320-1
SUSELinux Enterprise Real Time 12 SP3kernel-syms-rt, kernel-source-rt4.4.170-3.32.1SUSE-SU-2019:0320-1
2 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-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 7.4 Advanced Update Supportkernel-0:3.10.0-693.76.1.el7Fixed 2020-09-22RHSA-2020:3804
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportkernel-0:3.10.0-693.76.1.el7Fixed 2020-09-22RHSA-2020:3804
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutionskernel-0:3.10.0-693.76.1.el7Fixed 2020-09-22RHSA-2020:3804
Red Hat Enterprise MRG 2kernel-rt-1:3.10.0-693.76.1.rt56.676.el6rtFixed 2020-09-22RHSA-2020:3810
Red Hat Enterprise Linux 5kernelWill not fix
Red Hat Enterprise Linux 6kernelWill not fix
Red Hat Enterprise Linux 8kernelNot 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-1120.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

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