CVE-2026-46078CWE-125

CVE-2026-46078

High · published May 27, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
2.5
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

erofs: fix the out-of-bounds nameoff handling for trailing dirents

Currently we already have boundary-checks for nameoffs, but the trailing

dirents are special since the namelens are calculated with strnlen()

with unchecked nameoffs.

If a crafted EROFS has a trailing dirent with nameoff >= maxsize,

maxsize - nameoff can underflow, causing strnlen() to read past the

directory block.

nameoff0 should also be verified to be a multiple of

`sizeof(struct erofs_dirent)` as well [1].

[1] https://sashiko.dev/#/patchset/20260416063511.3173774-1-hsiangkao%40linux.alibaba.com

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00131 · 2.5th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2026-05-27T18:17Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 6.7, < 6.12.866.12.86
linux/linux_kernel≥ 6.13, < 6.18.276.18.27
linux/linux_kernel≥ 6.19, < 7.0.47.0.4
linux/linux_kernel≥ 4.19, < 5.10.2595.10.259
linux/linux_kernel≥ 5.11, < 5.15.2105.15.210
linux/linux_kernel≥ 5.16, < 6.1.1756.1.175
linux/linux_kernel≥ 6.2, < 6.6.1406.6.140
References (8)
EPSS history
Timeline
  • 27 MAY 12:58Z
    erofs: fix the out-of-bounds nameoff handling for trailing dirents
    cvelistv5