VDB

CVE-2026-46078

CVE-2026-46078 PUBLISHED CVSS 7.1 HIGH

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

Reported by linux · Published May 27, 2026

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

Fixed versions

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

PackageEcosystemFixed in
kernel-develAmazon Linux1:6.1.175-219.357.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.30-61.116.amzn2023
kernelAmazon Linux1:6.1.175-219.357.amzn2023
bpftoolAmazon Linux1:6.1.175-219.357.amzn2023
kernel-livepatch-6.18.30-61.116Amazon Linux1:1.0-0.amzn2023
kernel-livepatch-6.1.175-219.357Amazon Linux1:1.0-0.amzn2023
kernel-headersAmazon Linux1:6.1.175-219.357.amzn2023
python3-perf6.18Amazon Linux1:6.18.30-61.116.amzn2023
LinuxLinuxaa16dca1b062355181ef215229eeac249d7c0d61, a8ee527807f7d97e55ce2ef2906f7f34975eb1c7, 80a23c6d1aba35be8746d74ac14e6ba5ae46da21, 4.19, 222055e6b4063abd2d9e13c3d49bbd1724c50789

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux3aa8ec716e52c02360457fa018296629b4d0becf, 3aa8ec716e52c02360457fa018296629b4d0becf, 3aa8ec716e52c02360457fa018296629b4d0becf
LinuxLinux4.19, 0, 5.10.259
amazon:2023kernel-devel0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel0
amazon:2023bpftool0
amazon:2023kernel-livepatch-6.18.30-61.1160
amazon:2023kernel-livepatch-6.1.175-219.3570
amazon:2023kernel-headers0
amazon:2023python3-perf6.180
LinuxLinux5.10.259, 3aa8ec716e52c02360457fa018296629b4d0becf, 3aa8ec716e52c02360457fa018296629b4d0becf
amazon:2023python3-perf6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.120
amazon:2023kernel-tools-devel0
amazon:2023perf6.180
amazon:2023python3-perf0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-modules-extra0

…and 17 more

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (15 in total, the first dated here)
  • May 29, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Jun 24, 2026 CVE Updated
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46078
vulnetix vdb fixes CVE-2026-46078

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-2026-46078/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 ›