CVE-2026-10634
Use-after-free in Zephyr native TCP `net_tcp_foreach()` due to dropping `tcp_lock` during the callback
Mitigation
- Upgrade zephyr to 4.4.1 or later.
Who should check
- Anyone running zephyrproject zephyr >= 3.6.0, < 4.3.1; >= 4.4.0, < 4.4.1
Vulnerability facts
- Affected
- zephyrproject zephyr >= 3.6.0, < 4.3.1; >= 4.4.0, < 4.4.1
- Fixed in
- zephyrproject zephyr 4.3.1, zephyrproject zephyr 4.4.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.8 (v3.1, CNA)CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
Zephyr's native TCP stack iterates the global connection list in net_tcp_foreach() (subsys/net/ip/tcp.c) using the SYS_SLIST_FOR_EACH_CONTAINER_SAFE macro, which caches a pointer to the next list node. Prior to this fix the function released tcp_lock while invoking the per-connection callback and re-acquired it afterwards. During that window a concurrent tcp_conn_release(), running on the dedicated TCP work-queue thread when a connection's reference count drops to zero (e.g. a remote peer closing or resetting the connection), can remove and k_mem_slab_free() the cached next connection. When the iterator advances it dereferences the freed (and possibly reallocated) slab memory — a use-after-free that can crash the system (denial of service) and, if the slot has been reused, cause the callback to operate on an attacker-influenced object (potential information disclosure or further fault). net_tcp_foreach() is reached in production via the net conn network shell command and via net_tcp_close_all_for_iface() on interface-down; the freeing side is driven by ordinary TCP traffic. The fix moves the connection/context teardown in tcp_conn_release() inside the tcp_lock critical section and keeps tcp_lock held across the callback in net_tcp_foreach(). The defect was introduced with the modern (TCP2) stack in 2020 and affects releases up to and including v4.4.0.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| zephyrproject zephyr | >= 3.6.0, < 4.3.1; >= 4.4.0, < 4.4.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-10634. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-10634.md Affected: zephyrproject zephyr >= 3.6.0, < 4.3.1; >= 4.4.0, < 4.4.1 Fixed in: zephyrproject zephyr 4.3.1, zephyrproject zephyr 4.4.1 Steps: 1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-10634 being exploited?
There is no confirmed exploitation: CVE-2026-10634 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-10634?
Medium: CVSS 4.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-10634?
zephyrproject zephyr >= 3.6.0, < 4.3.1; >= 4.4.0, < 4.4.1.
Is there a fix for CVE-2026-10634?
Yes. Fixed in zephyrproject zephyr 4.3.1, zephyrproject zephyr 4.4.1. Upgrade zephyr to 4.4.1 or later.
How do I check if I'm affected by CVE-2026-10634?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.