CVE-2026-46078
erofs: fix the out-of-bounds nameoff handling for trailing dirents
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 3aa8ec716e52c02360457fa018296629b4d0becf, < a8ee527807f7d97e55ce2ef2906f7f34975eb1c7; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < aa16dca1b062355181ef215229eeac249d7c0d61; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 80a23c6d1aba35be8746d74ac14e6ba5ae46da21; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 222055e6b4063abd2d9e13c3d49bbd1724c50789; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 48b27a955d22391c7f30169fa7b6b2e1977f1ce4; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 8ebb951a284b7446e025afc7dc5e9516ef9a7214; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 1d55445226c75ddd4e78b09b3e7d99109b28c366; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < d18a3b5d337fa412a38e776e6b4b857a58836575
- Anyone running Linux 4.19
Vulnerability facts
- Affected
- Linux >= 3aa8ec716e52c02360457fa018296629b4d0becf, < a8ee527807f7d97e55ce2ef2906f7f34975eb1c7; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < aa16dca1b062355181ef215229eeac249d7c0d61; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 80a23c6d1aba35be8746d74ac14e6ba5ae46da21; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 222055e6b4063abd2d9e13c3d49bbd1724c50789; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 48b27a955d22391c7f30169fa7b6b2e1977f1ce4; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 8ebb951a284b7446e025afc7dc5e9516ef9a7214; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 1d55445226c75ddd4e78b09b3e7d99109b28c366; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < d18a3b5d337fa412a38e776e6b4b857a58836575; Linux 4.19
- Fixed in
- Linux 80a23c6d1aba35be8746d74ac14e6ba5ae46da21, Linux 222055e6b4063abd2d9e13c3d49bbd1724c50789, Linux 48b27a955d22391c7f30169fa7b6b2e1977f1ce4, Linux 8ebb951a284b7446e025afc7dc5e9516ef9a7214, Linux 1d55445226c75ddd4e78b09b3e7d99109b28c366
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-125
- Modified
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
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 3aa8ec716e52c02360457fa018296629b4d0becf, < a8ee527807f7d97e55ce2ef2906f7f34975eb1c7; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < aa16dca1b062355181ef215229eeac249d7c0d61; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 80a23c6d1aba35be8746d74ac14e6ba5ae46da21; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 222055e6b4063abd2d9e13c3d49bbd1724c50789; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 48b27a955d22391c7f30169fa7b6b2e1977f1ce4; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 8ebb951a284b7446e025afc7dc5e9516ef9a7214; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 1d55445226c75ddd4e78b09b3e7d99109b28c366; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < d18a3b5d337fa412a38e776e6b4b857a58836575 | — | cvelist |
| Linux | 4.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-46078. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-46078.md Affected: Linux >= 3aa8ec716e52c02360457fa018296629b4d0becf, < a8ee527807f7d97e55ce2ef2906f7f34975eb1c7; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < aa16dca1b062355181ef215229eeac249d7c0d61; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 80a23c6d1aba35be8746d74ac14e6ba5ae46da21; >= 3aa8ec716e52c02360457fa… Fixed in: Linux 80a23c6d1aba35be8746d74ac14e6ba5ae46da21, Linux 222055e6b4063abd2d9e13c3d49bbd1724c50789, Linux 48b27a955d22391c7f30169fa7b6b2e1977f1ce4, Linux 8ebb951a284b7446e025afc7dc5e9516ef9a7214, Linux 1d55445226c75ddd4e78b09b3e7d99109b28c366 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/a8ee527807f7d97e55ce2ef2906f7f34975eb1c7
- https://git.kernel.org/stable/c/aa16dca1b062355181ef215229eeac249d7c0d61
- https://git.kernel.org/stable/c/80a23c6d1aba35be8746d74ac14e6ba5ae46da21
- https://git.kernel.org/stable/c/222055e6b4063abd2d9e13c3d49bbd1724c50789
- https://git.kernel.org/stable/c/48b27a955d22391c7f30169fa7b6b2e1977f1ce4
- https://git.kernel.org/stable/c/8ebb951a284b7446e025afc7dc5e9516ef9a7214
- https://git.kernel.org/stable/c/1d55445226c75ddd4e78b09b3e7d99109b28c366
- https://git.kernel.org/stable/c/d18a3b5d337fa412a38e776e6b4b857a58836575
FAQ
Is CVE-2026-46078 being exploited?
There is no confirmed exploitation: CVE-2026-46078 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-46078?
High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-46078?
Linux >= 3aa8ec716e52c02360457fa018296629b4d0becf, < a8ee527807f7d97e55ce2ef2906f7f34975eb1c7; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < aa16dca1b062355181ef215229eeac249d7c0d61; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 80a23c6d1aba35be8746d74ac14e6ba5ae46da21; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 222055e6b4063abd2d9e13c3d49bbd1724c50789; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 48b27a955d22391c7f30169fa7b6b2e1977f1ce4; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 8ebb951a284b7446e025afc7dc5e9516ef9a7214; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < 1d55445226c75ddd4e78b09b3e7d99109b28c366; >= 3aa8ec716e52c02360457fa018296629b4d0becf, < d18a3b5d337fa412a38e776e6b4b857a58836575; Linux 4.19.
Is there a fix for CVE-2026-46078?
Yes. Fixed in Linux 80a23c6d1aba35be8746d74ac14e6ba5ae46da21, Linux 222055e6b4063abd2d9e13c3d49bbd1724c50789, Linux 48b27a955d22391c7f30169fa7b6b2e1977f1ce4, Linux 8ebb951a284b7446e025afc7dc5e9516ef9a7214, Linux 1d55445226c75ddd4e78b09b3e7d99109b28c366. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-46078?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.