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

CVE record · `CVE-2026-46078`

- **Identifiers:** `CVE-2026-46078`
- **State:** Confirmed
- **Severity:** CVSS 7.1 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-125](https://cwe.mitre.org/data/definitions/125.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 May 2026
- **Updated:** 19 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 May 2026, 12:58 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `3aa8ec716e52c02360457fa018296629b4d0becf to before a8ee527807f7d97e55ce2ef2906f7f34975eb1c7` (git)
  - affected: `3aa8ec716e52c02360457fa018296629b4d0becf to before aa16dca1b062355181ef215229eeac249d7c0d61` (git)
  - affected: `3aa8ec716e52c02360457fa018296629b4d0becf to before 80a23c6d1aba35be8746d74ac14e6ba5ae46da21` (git)
  - affected: `3aa8ec716e52c02360457fa018296629b4d0becf to before 222055e6b4063abd2d9e13c3d49bbd1724c50789` (git)
  - affected: `3aa8ec716e52c02360457fa018296629b4d0becf to before 48b27a955d22391c7f30169fa7b6b2e1977f1ce4` (git)
  - affected: `3aa8ec716e52c02360457fa018296629b4d0becf to before 8ebb951a284b7446e025afc7dc5e9516ef9a7214` (git)
  - affected: `3aa8ec716e52c02360457fa018296629b4d0becf to before 1d55445226c75ddd4e78b09b3e7d99109b28c366` (git)
  - affected: `3aa8ec716e52c02360457fa018296629b4d0becf to before d18a3b5d337fa412a38e776e6b4b857a58836575` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.19`
  - unaffected: `before 4.19` (semver)
  - unaffected: `5.10.259 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.210 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.175 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.140 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.86 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.27 to 6.18.*, inclusive` (semver)
  - unaffected: `7.0.4 to 7.0.*, inclusive` (semver)
  - unaffected: `7.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.1 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0013, the 2nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 27 May 2026. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2026-46078](https://www.cve.org/CVERecord?id=CVE-2026-46078)
- [NVD: CVE-2026-46078](https://nvd.nist.gov/vuln/detail/CVE-2026-46078)

### References from the CNA

- <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>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-46078>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-46078/>. Everything for agents: <https://agentprime.io/llms.txt>.
