Skip to content

Too Many Attempts

Please wait before trying again

30
CVE-2026-10645 ·

CVE-2026-10645: Zephyr's ext2 directory-entry parser does not fully va

CVE-2026-10645 analysis covering impact, affected products, versions, remediation, and cross-checked defender guidance.

CVE-2026-10645 advisory summary illustration
Illustrative advisory summary. Technical claims are supported by the sources below.

CVE-2026-10645 is a vulnerability published by NVD on 6/23/2026.

What happened

Zephyr's ext2 directory-entry parser does not fully validate on-disk directory entry structure before copying the entry name and advancing traversal state. In ext2_fetch_direntry() (subsys/fs/ext2/ext2_diskops.c), the code only checks de_name_len <= EXT2_MAX_FILE_NAME and then copies the name with memcpy without validating the structural relationship between de_rec_len, de_name_len, and the directory block boundary (for example that de_rec_len is non-zero, at least the size of the entry header, and that the record fits within the block). Callers such as find_dir_entry() and ext2_get_direntry() (subsys/fs/ext2/ext2_impl.c) then advance traversal using the unvalidated de_rec_len. A crafted ext2 image can therefore cause an out-of-bounds read from the directory block buffer when a malformed entry near the end of a block triggers an oversized name copy, or a zero-progress infinite loop when de_rec_len == 0. The issue is not reached at mount time but later through directory traversal paths such as pathname lookup, stat/open/unlink/rename, and readdir. The primary impact is denial of service and out-of-bounds reads under attacker-controlled ext2 images mounted from untrusted media.

Affected products and versions

  • NVD has not published a normalized affected-product configuration yet.

Severity and weakness

CVSS: MEDIUM 4.9. Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H.

Weaknesses: CWE-125.

Known exploitation

No CISA KEV entry is currently attached to the NVD record.

What defenders should do

  1. Identify whether the affected product and version range exists in production.
  2. Review vendor advisories and release notes before change windows.
  3. Patch, upgrade, disable the vulnerable component, or apply vendor mitigations.
  4. Verify the running version after deployment, not only the package inventory.

Official and supporting references

  • No vendor advisory tagged by NVD at draft time.

Source record

Turn the advisory into a check.

Review your asset inventory, confirm affected versions against vendor guidance, and verify changes after remediation.

Read the monitoring documentation →Explore the security platform →
← All CVE advisories
🐸