Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-13215: bounds in zephyrproject zephyr

0
Medium
VulnerabilityCVE-2026-13215cvecve-2026-13215
Published: 08/25/2026 (08/25/2026, 04:37:21 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

CVE-2026-13215 is a vulnerability in the Zephyr ext2 filesystem driver where the s_log_block_size field from the on-disk superblock is not properly validated. This allows an attacker to supply a crafted ext2 image that causes an out-of-bounds write in kernel memory during filesystem mounting. The flaw can lead to memory corruption with impacts ranging from denial of service to potential code execution in kernel mode.

CVSS v3.1

Score 6.8medium

Attack Vector
Physical
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=3.5.0 <4.4.2

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

AILast updated: 08/25/2026, 05:07:13 UTC

Technical Analysis

The Zephyr ext2 filesystem driver fails to validate the s_log_block_size field of the on-disk superblock when mounting an ext2 filesystem. The ext2_verify_disk_superblock() function checks several fields but does not bound s_log_block_size. The block size is computed as 1024 shifted left by s_log_block_size, which can overflow or produce a block size larger than the configured maximum. This oversized block size is used to initialize a memory slab without verifying it fits the backing buffer, causing the slab to overflow a static buffer. When the filesystem mount reads block data into this slab, it results in an out-of-bounds write to adjacent static memory. Because the ext2 driver runs in kernel mode, this memory corruption can lead to denial of service or code execution. The vulnerability is exploitable by presenting a crafted ext2 image to a device that mounts it, such as a removable storage medium. The fix rejects s_log_block_size values that overflow the shift or produce a block size exceeding the maximum allowed.

Potential Impact

An attacker able to supply a crafted ext2 filesystem image to a device running the vulnerable Zephyr ext2 driver can trigger a kernel-mode memory corruption via an out-of-bounds write. This can result in denial of service or potentially arbitrary code execution with kernel privileges. The vulnerability arises from improper validation of the s_log_block_size field leading to buffer overflow during filesystem mounting.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix rejects invalid s_log_block_size values that cause overflow or exceed the maximum block size, preventing the slab overflow. Until an official fix is available, avoid mounting untrusted ext2 filesystem images on affected Zephyr versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
zephyr
Date Reserved
2026-06-24T15:29:24.406Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a8d1f97acd9273b49af8fcd

Added to database: 08/25/2026, 04:52:39 UTC

Last enriched: 08/25/2026, 05:07:13 UTC

Last updated: 08/25/2026, 05:30:09 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses