CVE-2026-13478: bounds in zephyrproject zephyr
Description
CVE-2026-13478 is a medium severity vulnerability in the Zephyr ext2 filesystem driver that causes an out-of-bounds read during mounting of a crafted ext2 image. The flaw arises from improper bounds checking of the block bitmap size, allowing a large memory read beyond the allocated bitmap buffer. This leads to a denial of service by crashing the system when mounting attacker-controlled ext2 media. No information leak or code execution is possible. A fix is available that rejects images with oversized block counts before scanning.
CVSS v3.1
Score 5.5medium
Affected software
zephyrproject
zephyr
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Zephyr ext2 filesystem driver improperly validates the on-disk block bitmap size during ext2_init_fs(). It calculates fs_blocks as s_blocks_count - s_first_data_block from the superblock without bounding it against the bitmap buffer capacity (fs->block_size * 8 bits). A crafted ext2 image with an oversized s_blocks_count (up to ~4 billion) causes ext2_bitmap_count_set() to read roughly 512 MB beyond the bitmap block, resulting in a large out-of-bounds read. This occurs during the mount operation on attacker-supplied ext2 images. The out-of-bounds read leads to a system crash (denial of service) but does not leak attacker-controlled data. The fix rejects images where fs_blocks exceeds fs->block_size * 8 before scanning.
Potential Impact
The vulnerability causes a large out-of-bounds read of memory during mounting of a malicious ext2 image, leading to a system crash (denial of service). There is no confidentiality or integrity impact as no attacker-controlled data is returned or executed. The denial of service occurs because the out-of-bounds read crosses memory boundaries that trigger faults.
Mitigation Recommendations
A fix is available that rejects ext2 images with an oversized block count exceeding the bitmap capacity before scanning. Users should upgrade to Zephyr version 4.4.2 or later where this issue is addressed. Until patched, avoid mounting untrusted ext2 images to prevent denial of service.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- zephyr
- Date Reserved
- 2026-06-27T13:33:54.323Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a8dc15dacd9273b496e497c
Added to database: 08/25/2026, 16:22:53 UTC
Last enriched: 09/10/2026, 18:21:53 UTC
Last updated: 10/07/2026, 18:48:17 UTC
Views: 31
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.