Skip to main content

CVE-2026-79979: use-after-free in zephyrproject zephyr

0
High
VulnerabilityCVE-2026-79979cvecve-2026-79979
Published: 10/23/2026 (10/23/2026, 19:56:16 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

CVE-2026-79979 is a use-after-free vulnerability in the Zephyr project affecting arm64 builds with CONFIG_USERSPACE and CONFIG_DEMAND_PAGING enabled. The issue arises from improper TLB invalidation that only targets ASID 0, allowing stale translations for other ASIDs to persist. This flaw enables unprivileged user threads to access and modify kernel or other domain memory, breaking memory isolation and potentially leading to full system compromise. The vulnerability affects Zephyr versions from 4.3.0 up to but not including 4.5.0. A fix has been implemented to correct the TLB invalidation to cover all ASIDs and preserve proper memory domain permissions.

CVSS v3.1

Score 7.8high

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

Affected software

zephyrproject

zephyr

Affected versions
>=4.3.0 <4.5.0
GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=4.3.0 <4.5.0

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: 10/23/2026, 20:20:14 UTC

Technical Analysis

The arm64 MMU backend in Zephyr improperly invalidates TLB entries by only targeting ASID 0, which corresponds to kernel page tables and global entries. Memory domains use ASIDs starting at 1, and their non-global cached translations survive this invalidation. During demand paging, when a page frame is evicted and reused, user threads with mappings to that frame retain valid EL0 read/write access, allowing them to read or write supervisor data or other users' memory. This breaks the isolation guarantees of CONFIG_USERSPACE, enabling information disclosure and memory corruption. The fix changes the TLB invalidation to use TLBI VAAE1{IS}, which invalidates all ASIDs and both global and non-global entries, ensuring no stale translations remain. Additionally, the fix prevents globalize_table() from stripping EL0 permissions and non-global attributes during paging synchronization, preserving user thread access to their memory domains.

Potential Impact

This vulnerability allows unprivileged user threads to access and modify memory that should be isolated, including kernel data, other memory domains, or other threads' stacks. This defeats the memory isolation enforced by CONFIG_USERSPACE, potentially leading to information disclosure, memory corruption, and full system compromise. The impact is high given the ability to escalate privileges and compromise system integrity.

Mitigation Recommendations

A fix is available that corrects the TLB invalidation to cover all ASIDs and preserves user memory domain permissions during paging synchronization. Users should upgrade Zephyr to versions 4.5.0 or later where this issue is resolved. Until patched, systems with arm64 builds using CONFIG_USERSPACE and CONFIG_DEMAND_PAGING enabled and demand-paged private mappings are vulnerable.

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-08-25T16:06:32.777Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6adbbe27d73cc49347b8fb63

Added to database: 10/23/2026, 20:05:59 UTC

Last enriched: 10/23/2026, 20:20:14 UTC

Last updated: 10/23/2026, 20:21:17 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