---
title: "CVE-2018-10840: kernel heap-based buffer overflow in fs/ext4/xattr.c Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2018-10840: kernel heap-based buffer overflow in fs/ext4/xattr.c Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2018-10840 is a published software vulnerability affecting kernel heap-based buffer overflow in fs/ext4/xattr.c. CVSS base score: 5.2 (MEDIUM). Published July 16, 2018 by redhat. 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.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2018-10840
- Status: Published
- Affected vendor: kernel
- Affected product: heap-based buffer overflow in fs/ext4/xattr.c
- Assigner CNA: redhat
- Published date: July 16, 2018
- Last updated: August 5, 2024
- CVSS base score: 5.2 (MEDIUM)
- CVSS vector: CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- Weakness (CWE): CWE-122

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Kosher restaurants in the United States](https://specstream.ai/data/businesses/kosher-restaurants/united-states)
- [Tanning salons in the United States](https://specstream.ai/data/businesses/tanning-salons/united-states)
- [Cleaning companies in the United States](https://specstream.ai/data/businesses/cleaning-companies/united-states)
- [Kitchen supply stores in the United States](https://specstream.ai/data/businesses/kitchen-supply-stores/united-states)
- [Taco restaurants in the United States](https://specstream.ai/data/businesses/taco-restaurants/united-states)
- [Civil engineering firms in the United States](https://specstream.ai/data/businesses/civil-engineering-firms/united-states)
