CVE-2018-10840: canonical ubuntu_linux Heap-based Buffer Overflow
Vulnerability summary
CVE-2018-10840 is a high (CVSS 7.2) Heap-based Buffer Overflow vulnerability in canonical ubuntu_linux. EPSS estimates a 0.67% chance of exploitation in the next 30 days, higher than 52% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.2, physical access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 4Timeline
- 16-07-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
9 scores · 6 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST5.2MediumCVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- OSV · Red hatEcosystem advisory · calculated5.2MediumCVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- OSV · UbuntuEcosystem advisory · calculated6.6MediumCVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.67%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.67% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (bugzilla.redhat.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: physical access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard82 products
- hyperv-daemons-6.18All versions (No fix recorded)
- hyperv-daemons-genericAll versions (No fix recorded)
- linux-aws-6.12< 6.12.65-r0 | All versions (No fix recorded)
- linux-aws-6.12-boot-installedAll versions (No fix recorded)
- linux-aws-6.12-fips-boot-installedAll versions (No fix recorded)
Redhat21 products
- enterprise_linuxEOL7.0
- kernel< 0:4.14.0-115.5.1.el7a
- kernel-abi-whitelists< 0:4.14.0-115.5.1.el7a
- kernel-alt< 0:4.14.0-115.5.1.el7a
- kernel-bootwrapper< 0:4.14.0-115.5.1.el7a
Ubuntu8 products
- linux< 4.15.0-33.36
- linux-aws< 4.15.0-1020.20
- linux-azure< 4.15.0-1022.22~16.04.1 | < 4.15.0-1022.23
- linux-gcp< 4.15.0-1018.19~16.04.2 | < 4.15.0-1018.19
- linux-hwe< 4.15.0-33.36~16.04.1
Canonical1 product
- ubuntu_linuxEOL14.04 | 18.04
Debian1 product
- linux< 4.17.3-1
Kernel1 product
Linux1 product
7 vendors · 115 products
References
18 links- access.redhat.com/errata/RHSA-2019:0162Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10840X Refsource CONFIRMExploitIssue TrackingPatchThird Party AdvisoryFIX