cve.bz

CVE-2018-10840 Heap-based Buffer Overflow

6.6 mediumExploit referenceEPSS 0.6%Fix available

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

On this page
Linux kernel is vulnerable to a heap-based buffer overflow in the fs/ext4/xattr.c:ext4_xattr_set_entry() function. An attacker could exploit this by operating on a mounted crafted ext4 image.

Severity

CVSS 3.1

6.6 medium
CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-122 Heap-based Buffer Overflow
CWE-787 Out-of-bounds Write
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-10840 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-10840?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-10840?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-10840 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
canonical:ubuntu_linux14.04
canonical:ubuntu_linux18.04
redhat:enterprise_linux7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux4.17.3-1DEBIAN-CVE-2018-10840
Ubuntu16.04:LTSlinux-azure4.15.0-1022.22~16.04.1UBUNTU-CVE-2018-10840 USN-3752-3
Ubuntu16.04:LTSlinux-gcp4.15.0-1018.19~16.04.2UBUNTU-CVE-2018-10840 USN-3752-3
Ubuntu16.04:LTSlinux-hwe4.15.0-33.36~16.04.1UBUNTU-CVE-2018-10840 USN-3752-2
Ubuntu18.04:LTSlinux4.15.0-33.36UBUNTU-CVE-2018-10840 USN-3752-1
Ubuntu18.04:LTSlinux-aws, linux-kvm4.15.0-1020.20UBUNTU-CVE-2018-10840 USN-3752-1
Ubuntu18.04:LTSlinux-azure4.15.0-1022.23UBUNTU-CVE-2018-10840 USN-3752-3
Ubuntu18.04:LTSlinux-gcp4.15.0-1018.19UBUNTU-CVE-2018-10840 USN-3752-1
Ubuntu18.04:LTSlinux-oem4.15.0-1017.20UBUNTU-CVE-2018-10840 USN-3752-3
Ubuntu18.04:LTSlinux-raspi24.15.0-1021.23UBUNTU-CVE-2018-10840 USN-3752-1
Red Hatenterprise_linux:7::serverperf, kernel, kernel-alt and 17 more0:4.14.0-115.5.1.el7aRHSA-2019:0162

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-alt-0:4.14.0-115.5.1.el7aFixed 2019-01-29RHSA-2019:0162
Red Hat Enterprise Linux 5kernelOut of support scope
Red Hat Enterprise Linux 6kernelWill not fix
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise MRG 2realtime-kernelNot 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-10840.

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.

References

Check your stackJSON