2084AI Security Observatory

CVE

CVE-2026-46078

CVE-2026-46078HIGH 7.1EPSS 3%

CNA description

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] [link removed]

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 6.19, < 7.0.4Fixed in 7.0.4
  • ≥ 6.13, < 6.18.27Fixed in 6.18.27
  • ≥ 6.7, < 6.12.86Fixed in 6.12.86
  • ≥ 6.2, < 6.6.140Fixed in 6.6.140
  • ≥ 5.16, < 6.1.175Fixed in 6.1.175
  • ≥ 5.11, < 5.15.210Fixed in 5.15.210
  • ≥ 4.19, < 5.10.259Fixed in 5.10.259

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.