Home › CVE › Network devices
CVE-2026-130477 — zephyrproject zephyr
One of 10 zephyrproject zephyr vulnerabilities published together by NVD: our article covers all of them.
Network devicesOperating systemsVulnerabilitiesResearch article
Zephyr Project Kernel Use After Free Vulnerability in CVE-2026-130477
| CVE | CVE-2026-130477 |
|---|---|
| Vendor and product | zephyrproject zephyr |
| Published | November 29, 2026 22:05 UTC |
| Research cut-off | November 29, 2026 21:45 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-29); CISA KEV catalog |
Executive summary
CVE-2026-130477 impacts the Zephyr Project kernel, enabling unprivileged user threads to access and alter kernel memory via a use after free flaw. The CVSS 3.1 score is 8.8 HIGH, scored by vulnerabilities@zephyrproject.org [1]. The vulnerability affects versions starting from 1.12.0 [1], and the reviewed sources do not mention any known exploitation [2]. Readers should monitor for vendor updates, as the sources do not list a fixed version.
Key points
- CVE-2026-130477 affects the Zephyr Project kernel [1].
- The CVSS 3.1 score is 8.8 HIGH, scored by vulnerabilities@zephyrproject.org [1].
- The vulnerability impacts versions ≥ 1.12.0 [1].
- The reviewed sources do not report exploitation [2].
- Readers should monitor for updates from the vendor and apply patches when available.
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-130477 | zephyrproject | zephyr | CWE-416 | 8.8 HIGH, scored by vulnerabilities@zephyrproject.org | 2026-11-29T21:17:02 | 2026-11-29T21:17:02 | Awaiting Analysis |
Vulnerability description
The flaw stems from inadequate handling of kernel objects within the user-mode object management system. When a kernel object is released, the system does not verify if it is still in use, which could result in a use after free condition. This allows a user thread to interact with and alter kernel memory it was not authorized to access [1].
Attack surface and exploitation prerequisites
To exploit this flaw, an attacker needs a user thread with a resource pool that can make the syscalls it is permitted to make [1]. The CVSS vector indicates that the attack requires low privileges and no user interaction is needed [1].
Impact analysis
The CVSS vector highlights that the vulnerability poses a high risk to confidentiality, integrity, and availability. This vulnerability undermines the security of the kernel and the separation between user-mode processes and unprivileged threads [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| ≥ 1.12.0 | not listed |
Exploitation and threat intelligence status
CVE-2026-130477 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-29 [2]. The reviewed sources do not report any known exploitation.
Detection and exposure assessment
Installed zephyr versions of 1.12.0 or newer fall in the affected range listed by the vendor [1].
Remediation
The sources do not specify a fixed version. Readers should monitor for updates from the vendor; the sources do not list a fixed version.
Remediation checklist
Evidence gaps
- The sources do not describe the technical mechanics of the flaw.
- The sources do not mention any indicators of compromise.
- The sources do not provide a workaround or compensating control.
- The sources do not list a fixed version for the affected product.
References
- CVE-2026-130477 record. NIST National Vulnerability Database (NVD), 2026-11-29. https://nvd.nist.gov/vuln/detail/CVE-2026-130477. Accessed 2026-11-29.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-29. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-29.
Summary
In the kernel's user-mode object management, unref_check() in kernel/userspace/userspace.c frees a dynamically allocated kernel object as soon as its permission bitmap becomes empty. It does not check the object type or whether the kernel still uses the object. k_thread_create() keeps pointers to a dynamic struct k_thread (from k_object_alloc(K_OBJ_THREAD)) and a dynamic stack (from k_object_alloc_size(K_OBJ_THREAD_STACK_ELEMENT, ...) or k_thread_stack_alloc() with K_USER) for the whole life of the thread, but nothing in the bitmap records this. z_thread_user_init() gives the new thread permission on its own thread object only, not on its stack. When the thread terminates, halt_thread() calls z_thread_release(), and its z_thread_user_exit() drops all of the thread's permissions. If that leaves the bitmap empty, the thread's own struct k_thread (and a stack it holds the last permission on) is freed before the abort path and the context switch are done with it. Any user thread with a resource pool can trigger this through syscalls it is allowed to make. If it creates a thread on a dynamic stack and then calls k_object_release() on the stack, or exits, the stack block is freed while the child still runs on it. With CONFIG_GEN_PRIV_STACKS that block also holds the privileged stack and z_stack_data, and the child keeps user-mode access to it. Once the creator has released a dynamic thread object, the thread itself can call k_object_release() on its own thread object and free its struct k_thread while it is running. z_vrfy_k_object_release() checks only that the caller holds permission on the object. If the creator has dropped its permissions, the child's ordinary termination frees the thread object inside halt_thread(). The kernel then still reads and writes the freed memory: thread->stack_obj, the thread state, swap_retval and switch_handle, and CPUs waiting for the halt spin on it. On SMP builds, another CPU can reallocate the memory in that window. All of this needs CONFIG_USERSPACE and CONFIG_DYNAMIC_OBJECTS. Freed blocks go back to the thread's resource pool, which also serves later kernel allocations such as other dynamic kernel objects and their metadata. A user thread can then read and write kernel heap memory it was never granted, overwrite kernel data later placed there, or control the contents of a struct k_thread that the scheduler still uses. This breaks kernel integrity (P1) and user-mode isolation (P2) from an unprivileged user thread. The supervisor-only k_object_free() states that it is not exposed to user mode because the kernel cannot tell whether an object is still in use, and k_thread_stack_free() refuses to free a stack in use. Dropping permissions gets around both.
Severity breakdown
High · 8.8
An attacker with a normal user account can exploit this with local access, without any user action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- high on confidentiality, integrity and availability
Weakness
- CWE-416: Use After Free
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| zephyrproject zephyr | ≥ 1.12.0 | — |
References by type
Vendor advisories
Affected
- zephyrproject zephyr
Frequently asked questions
What is CVE-2026-130477?
CVE-2026-130477 impacts the Zephyr Project kernel, enabling unprivileged user threads to access and alter kernel memory via a use after free flaw. The CVSS 3.1 score is 8.8 HIGH, scored by vulnerabilities@zephyrproject.org. The vulnerability affects versions starting from 1.12.0, and the reviewed sources do not mention any known exploitation. Weakness type: Use After Free (CWE-416).
How severe is CVE-2026-130477?
CVE-2026-130477 has a CVSS 3.1 base score of 8.8 (high), from the CNA (zephyrproject.org). An attacker with a normal user account can exploit this with local access, without any user action.
Is CVE-2026-130477 being exploited?
Not as far as is known: CVE-2026-130477 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026.
Which versions are affected by CVE-2026-130477?
zephyrproject zephyr ≥ 1.12.0.
How do I fix CVE-2026-130477?
Installed zephyr versions of 1.12.0 or newer fall in the affected range listed by the vendor. Monitor for updates from the vendor and apply patches when available. Review the Zephyr security advisory referenced in the NVD record (GHSA-624h-x2xx-2h3w).
Timeline & sources
References
Related vulnerabilities & news
- CERT-In Rates Multiple Cisco ClamAV Flaws High; Affected Secure Endpoint Connector Versions Listed
- NetBird Client Daemon Exposes gRPC Interface Without Authentication
- Symfony Framework Allows Remote Code Execution via Inline Fragments
- Palo Alto Networks Confirms Active Exploitation of Linux Kernel Flaw in PAN-OS Firewalls
- Dell PowerStore SDNAS Local Privilege Escalation Vulnerability (CVE-2026-116445)