CVE-2026-46078erofs: fix the out-of-bounds nameoff handling for trailing dirents
- 7.1HighCVSS base score
- 0.13%Exploitation in 30 daysEPSS · top 97% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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] https://sashiko.dev/#/patchset/20260416063511.3173774-1-hsiangkao%40linux.alibaba.com
Timeline
ID reserved
By Linux
- 14 days later
· 14 days later
Published
- 5 months later
· 5 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| NVDNVD · Undergoing Analysis | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.13% · top 97% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected 3aa8ec716e52c02360457fa018296629b4d0becf – < a8ee527807f7d97e55ce2ef2906f7f34975eb1c7
- affected 3aa8ec716e52c02360457fa018296629b4d0becf – < aa16dca1b062355181ef215229eeac249d7c0d61
- affected 3aa8ec716e52c02360457fa018296629b4d0becf – < 80a23c6d1aba35be8746d74ac14e6ba5ae46da21
- affected 3aa8ec716e52c02360457fa018296629b4d0becf – < 222055e6b4063abd2d9e13c3d49bbd1724c50789
- affected 3aa8ec716e52c02360457fa018296629b4d0becf – < 48b27a955d22391c7f30169fa7b6b2e1977f1ce4
- affected 3aa8ec716e52c02360457fa018296629b4d0becf – < 8ebb951a284b7446e025afc7dc5e9516ef9a7214
- affected 3aa8ec716e52c02360457fa018296629b4d0becf – < 1d55445226c75ddd4e78b09b3e7d99109b28c366
- affected 3aa8ec716e52c02360457fa018296629b4d0becf – < d18a3b5d337fa412a38e776e6b4b857a58836575
- affected 4.19
- unaffected < 4.19
- unaffected 5.10.259 – ≤ 5.10.*
- unaffected 5.15.210 – ≤ 5.15.*
- unaffected 6.1.175 – ≤ 6.1.*
- unaffected 6.6.140 – ≤ 6.6.*
- unaffected 6.12.86 – ≤ 6.12.*
- unaffected 6.18.27 – ≤ 6.18.*
- unaffected 7.0.4 – ≤ 7.0.*
- unaffected 7.1 – ≤ *
References
References8
- https://git.kernel.org/stable/c/a8ee527807f7d97e55ce2ef2906f7f34975eb1c7 (opens in a new tab)
- https://git.kernel.org/stable/c/aa16dca1b062355181ef215229eeac249d7c0d61 (opens in a new tab)
- https://git.kernel.org/stable/c/80a23c6d1aba35be8746d74ac14e6ba5ae46da21 (opens in a new tab)
- https://git.kernel.org/stable/c/222055e6b4063abd2d9e13c3d49bbd1724c50789 (opens in a new tab)
- https://git.kernel.org/stable/c/48b27a955d22391c7f30169fa7b6b2e1977f1ce4 (opens in a new tab)
- https://git.kernel.org/stable/c/8ebb951a284b7446e025afc7dc5e9516ef9a7214 (opens in a new tab)
- https://git.kernel.org/stable/c/1d55445226c75ddd4e78b09b3e7d99109b28c366 (opens in a new tab)
- https://git.kernel.org/stable/c/d18a3b5d337fa412a38e776e6b4b857a58836575 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-32460 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-46078)Record last updated .