synced 1 MIN AGO
01 Record

CVE-2018-10840

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.

MediumPUBLISHEDCNA: redhat
CNA base score5.2 CVSS v3.xCVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

02 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.

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
0.67% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 51.3% of scored records. A rank, not a probability.
NVD base score
6.6 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2018-07-16 20:00Z8 YR AGO
Last updated
2024-08-05 07:46Z2 YR AGO
Reserved
2018-05-09
Assigning CNA
redhat
Record state
PUBLISHED
Severity
Medium (CVSS 5.2)
CNA CVSS vector
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Weaknesses
  • CWE-122Heap-based Buffer OverflowVariant
  • CWE-787Out-of-bounds WriteBase
Data version
5.1
Document digest
1842ec6162fb68e7f75a9bc4a6b84388e3d33e39398e1bd7644fc9edc89d2527

05 Affected products

VendorProductVersionsPlatforms

06 References

07 Fixed in

Debian 12

  • linux
    Fixed in 4.17.3-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • linux
    Fixed in 4.17.3-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • linux
    Fixed in 4.17.3-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • linux-azure
    Fixed in 4.15.0-1022.22~16.04.1
  • linux-gcp
    Fixed in 4.15.0-1018.19~16.04.2
  • linux-hwe
    Fixed in 4.15.0-33.36~16.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • linux
    Fixed in 4.15.0-33.36
  • linux-aws
    Fixed in 4.15.0-1020.20
  • linux-azure
    Fixed in 4.15.0-1022.23
  • linux-gcp
    Fixed in 4.15.0-1018.19
  • linux-kvm
    Fixed in 4.15.0-1020.20
  • linux-oem
    Fixed in 4.15.0-1017.20
  • linux-raspi2
    Fixed in 4.15.0-1021.23

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.