{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-10840","published":"2018-07-16T20:29:00.377000Z","last_modified":"2026-06-17T01:34:44.487000Z","status":"Modified","cvss":{"version":"3.1","score":6.6,"severity":"MEDIUM","vector":"CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-122","CWE-787"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"14.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"18.04"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux","version":"7.0"}],"cpes_truncated":false,"vendors":["linux","canonical","redhat"],"products":["linux/linux_kernel","canonical/ubuntu_linux","redhat/enterprise_linux"],"epss":{"score":0.00646,"percentile":0.45636,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":40,"links":{"html_es":"/es/cve/CVE-2018-10840/","html_en":"/en/cve/CVE-2018-10840/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-10840","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-10840"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"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.","affected":[{"untrusted_vendor":"kernel","untrusted_product":"heap-based buffer overflow in fs/ext4/xattr.c","versions":[]}],"references":[{"url":"http://www.securityfocus.com/bid/104858","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0162","tags":["Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10840","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3752-1/","tags":["Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3752-2/","tags":["Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3752-3/","tags":["Third Party Advisory"]}]}}