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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-qemu-6.18 | Chainguard | 6.18.10-r0 |
| linux-vmware-6.18 | Chainguard | 6.18.10-r0 |
| linux-azure | Ubuntu:18.04:LTS | 4.15.0-1022.23 |
| linux-raspi2 | Ubuntu:18.04:LTS | 4.15.0-1021.23 |
| linux-hwe | Ubuntu:16.04:LTS | 4.15.0-33.36~16.04.1 |
| linux-gcp | Ubuntu:18.04:LTS | 4.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
| Vendor | Product | Versions |
|---|---|---|
| kernel | heap-based buffer overflow in fs/ext4/xattr.c | n/a |
| kernel | heap-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
- USN-3752-2 vendor-advisoryx_refsource_UBUNTU
- USN-3752-3 vendor-advisoryx_refsource_UBUNTU
- RHSA-2019:0162 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- 104858 vdb-entryx_refsource_BID
- USN-3752-1 vendor-advisoryx_refsource_UBUNTU