VDB

CVE-2018-10840

CVE-2018-10840 PUBLISHED CVSS 5.2 MEDIUM

Reported by redhat · Published July 16, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux-qemu-6.18Chainguard6.18.10-r0
linux-vmware-6.18Chainguard6.18.10-r0
linux-azureUbuntu:18.04:LTS4.15.0-1022.23
linux-raspi2Ubuntu:18.04:LTS4.15.0-1021.23
linux-hweUbuntu:16.04:LTS4.15.0-33.36~16.04.1
linux-gcpUbuntu:18.04:LTS4.15.0-1018.19

Risk scores

CVSS 3.0
5.2
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Affected products

VendorProductVersions
kernelheap-based buffer overflow in fs/ext4/xattr.cn/a
kernelheap-based buffer overflow in fs/ext4/xattr.c*

Timeline

  • Jul 16, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (4 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (5 in total, the first dated here)
  • Sep 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-10840
vulnetix vdb fixes CVE-2018-10840

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-10840/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›