CVE-2026-86086
CVE-2026-86086 — Unvalidated userspace pointer dereference in zsock_getsockopt syscall verifier allows limited kernel memory disclosure and system halt
The CONFIG_USERSPACE syscall verifier for getsockopt() in subsys/net/lib/sockets/sockets.c dereferenced the caller-supplied optlen pointer without validating it. z_vrfy_zsock_getsockopt() began with net_socklen_t kernel_optlen = (net_socklen_t )optlen;, reading four bytes through an unprivileged thread's pointer while executing in supervisor mode, before any K_SYSCALL_MEMORY_READ or k_usermode_from_copy() check. Every sibling verifier in the same file — z_vrfy_zsock_accept(), z_vrfy_zsock_recvfrom(), z_vrfy_zsock_getpeername(), z_vrfy_zsock_getsockname() — validated the equivalent addrlen pointer correctly; getsockopt was the sole outlier. zsock_getsockopt() is declared __syscall in include/zephyr/net/socket.h, so any user-mode thread holding (or able to create) a socket can invoke it directly with an arbitrary pointer value. No preparation, race, or heap grooming is required: a single call is enough. The issue is only present in builds with CONFIG_USERSPACE=y and CONFIG_NET_SOCKETS=y, which is precisely the configuration intended to contain an untrusted thread. The word read is not returned to the caller directly: the trailing k_usermode_to_copy() writes the updated length back through optlen itself, and for a kernel address that write is rejected with a kernel oops. The leak is instead an oracle. The word read through optlen becomes the length checked by K_SYSCALL_MEMORY_WRITE(optval, kernel_optlen): a value larger than the caller's writable span at optval fails cleanly with -EPERM, while a smaller one proceeds to the oopsing write-back (or, for a large value, to a failed k_usermode_alloc_from_copy()). A thread can therefore learn whether a chosen kernel word is below a chosen threshold, but every "yes" answer costs a fatal error, which keeps the disclosure limited. That fatal error is the larger impact: the default k_sys_fatal_error_handler() halts or warm-reboots the whole system on a kernel oops rather than aborting only the offending thread, and passing NULL or an address not mapped for supervisor access as optlen faults in supervisor mode with the same result. The subsequent length-bounded copies remain checked, so there is no out-of-bounds write. The fix replaces the raw dereference with K_OOPS(k_usermode_from_copy(&kernel_optlen, optlen, sizeof(net_socklen_t))), which validates read access before copying and turns a malicious pointer into a clean kernel oops on the calling thread.
Published Updated Sources: NVD, zephyrproject (CNA), GitHub, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
0%
ahead of 0% of scored CVEs
CVSS base
6.1
medium
Remediation
The vendor's own words where we have them.
Upgrade Zephyr to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Zephyrproject | zephyr | 2.0.0 to < 4.3.2 | Vulnerable |
| Zephyrproject | zephyr | 4.4.0 to < 4.5.0 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
Low
Integrity
None
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Local
Privileges Req
Low
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.1 | CVSS 3.1 | medium | 1.8 | 4.2 | zephyrproject.org (CNA), zephyrproject (CNA) |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-822 · Untrusted Pointer Dereference
- Read Memory
- DoS: Crash, Exit, or Restart
- Execute Unauthorized Code or Commands
- Modify Memory
Weakness & attack patterns
- CWE-822
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
2
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /net/lib/sockets/sockets.c, /zephyr/net/socket.h.
- Monitor for scanner or exploit-pattern traffic after 2 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 6.1 (AV:L)
Dec 1, 2026 · NVD
Initial · CVE published
Dec 1, 2026 · NVD
CVE published by MITRE.
Dec 1, 2026 · SOCRadar CTI
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 1×SVRS is calculatedOct 16, 2026 · SOCRadar CTI
- 1×Github_Repos · Github repository created, D7EAD/CVE-2026-86086Oct 13, 2026 · SOCRadar CTI
References
2 on the record
- github.com/zephyrproject-rtos/zephyr/commit/01613dd6e7ec2cd78ab088cfecd9e21f0ad158e5
Exploit, Third Party Advisory, Mitre, NIST
- github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-mh59-wmcw-fpxj
Exploit, Third Party Advisory, Mitre, NIST
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-130477 Kernel user mode: dynamic thread and stack objects can be freed while their thread is still running or exiting (use-after-free)CVSS 8.8
- CVE-2026-12234 TOCTOU double-fetch in `zsock_sendmsg`/`recvmsg` userspace verifiers allows kernel-heap out-of-bounds writeCVSS 7.8
- CVE-2026-12520 Stack buffer overflow and off-by-one writes in Zephyr HL7800 modem AT response handlersCVSS 6.4
- CVE-2026-9728 TOCTOU race in mbox_send syscall verifier allows userspace to leak kernel memoryCVSS 6.4
- CVE-2026-12235 Out-of-bounds write in Xtensa llext PLT relocation from malformed ELF (CWE-787)CVSS 6.3
- CVE-2026-12232 Out-of-bounds read via unvalidated stream_id in Intel ALH DAI get_propertiesCVSS 6.1
Elsewhere on this site
- Zephyrprojectevery CVE for this vendor
- Unclassifiedsame class
- CWE-822other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-86086 is Unvalidated userspace pointer dereference in zsock_getsockopt syscall verifier allows limited kernel memory disclosure and system halt, a medium vulnerability affecting Zephyr from Zephyrproject. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-86086. Public exploit evidence is: 2 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 6.1 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.