{"schema":"vulnpedia.research/1","cve":"CVE-2026-86086","references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/commit/01613dd6e7ec2cd78ab088cfecd9e21f0ad158e5","tags":["patch"],"source":"mitre","sourceId":"zephyr","modified":"2026-12-01T14:23:15.008Z","origins":[{"source":"mitre","sourceId":"zephyr","modified":"2026-12-01T14:23:15.008Z","tags":["patch"],"url":"https://github.com/zephyrproject-rtos/zephyr/commit/01613dd6e7ec2cd78ab088cfecd9e21f0ad158e5"},{"source":"nvd","sourceId":"CVE-2026-86086","modified":"2026-12-01T15:18:11.280","url":"https://github.com/zephyrproject-rtos/zephyr/commit/01613dd6e7ec2cd78ab088cfecd9e21f0ad158e5"}]},{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-mh59-wmcw-fpxj","source":"mitre","sourceId":"zephyr","modified":"2026-12-01T14:23:15.008Z","origins":[{"source":"mitre","sourceId":"zephyr","modified":"2026-12-01T14:23:15.008Z","url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-mh59-wmcw-fpxj"},{"source":"nvd","sourceId":"CVE-2026-86086","modified":"2026-12-01T15:18:11.280","url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-mh59-wmcw-fpxj"}],"tags":[]},{"source":"euvd","sourceId":"EUVD-2026-140217","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-140217","tags":["ADVISORY"],"origins":[{"source":"euvd","sourceId":"EUVD-2026-140217","tags":["ADVISORY"],"url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-140217"}]}],"packages":[],"pocCandidates":[{"url":"https://github.com/D7EAD/CVE-2026-86086","source":"poc-in-github","sourceId":"CVE-2026-86086","description":"In Zephyr RTOS, the getsockopt() syscall verifier reads through a user thread's optlen pointer without checking it.","verification":"unverified","origins":[{"source":"poc-in-github","sourceId":"CVE-2026-86086","url":"https://github.com/D7EAD/CVE-2026-86086"},{"source":"poc-in-github","sourceId":"CVE-2026-86086","modified":"2026-12-02T04:46:51Z","url":"https://github.com/D7EAD/CVE-2026-86086"}]}],"cataloguedPoc":[],"vendorStatements":[],"sourceTimes":{"cisa-kev":"2026-12-02T08:07:57.787Z","exploitdb":"2026-12-02T08:07:57.787Z","epss":"2026-12-02T08:07:57.787Z","nuclei":"2026-12-02T08:07:57.787Z","osv-PyPI":"2026-12-02T08:08:28.417Z","osv-npm":"2026-12-02T08:09:06.481Z","osv-Maven":"2026-12-02T08:08:33.548Z","osv-Go":"2026-12-02T08:08:37.108Z","osv-crates_io":"2026-12-02T08:08:38.459Z","osv-RubyGems":"2026-12-02T08:08:39.853Z","osv-Packagist":"2026-12-02T08:08:43.257Z","osv-NuGet":"2026-12-02T08:08:44.799Z","osv-Pub":"2026-12-02T08:08:45.082Z","osv-SwiftURL":"2026-12-02T08:08:45.246Z","osv-GitHub_Actions":"2026-12-02T08:08:45.404Z","osv-_EMPTY_":"2026-12-02T08:08:50.503Z","poc-in-github":"2026-12-02T08:08:55.031Z","metasploit":"2026-12-02T08:08:56.892Z","redhat-vex":"2026-12-02T08:13:29.952Z","euvd":"2026-12-02T08:08:22.901Z","vulncheck-kev":"2026-12-02T08:08:21.627Z","zdi":"2026-12-02T08:08:18.922Z","oss-security":"2026-12-02T08:08:18.922Z","full-disclosure":"2026-12-02T08:08:18.922Z","cert-cc":"2026-12-02T08:08:18.922Z","watchtowr":"2026-12-02T08:08:18.922Z","lexfo":"2026-12-02T08:08:18.922Z","google-security-research":"2026-12-02T08:08:18.922Z","vulncheck-initial-access":"2026-12-02T08:08:18.922Z","fkie-nvd-2026":"2026-12-02T08:08:02.020Z","fkie-nvd-2025":"2026-12-02T08:08:13.945Z","ghsa":"2026-12-02T08:08:28.417Z","pysec":"2026-12-02T08:08:28.417Z","go":"2026-12-02T08:08:28.417Z","rustsec":"2026-12-02T08:08:28.417Z","primary":"2026-12-01T14:23:15.008Z","nvd":"2026-12-01T15:18:11.280"},"sourceFields":{"schema":"vulnpedia.source-fields/1","primary":{"description":"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.\n\nzsock_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.\n\nThe 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 w","published":"2026-12-01","cwe":[{"id":"CWE-822","name":"memory-safety"}],"labels":{"vendors":["zephyrproject"],"products":["zephyr"]},"ssvc":null},"nvd":{"description":"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.\n\nzsock_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.\n\nThe 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 w","published":"2026-12-01","cwe":[{"id":"CWE-822","name":"Untrusted Pointer Dereference"}],"labels":{"vendors":[],"products":[]},"ssvc":null}},"labels":{"vendors":["zephyrproject"],"products":["zephyr"]},"evidence":{"version":"2026-12-02T08:13:57.184Z#a49c26aff5232038d1a2bc1f46598b2fae20d434afafa266063c68ae34df77b0","checkedAt":"2026-12-02T08:13:57.184Z","changedAt":"2026-12-02T08:13:57.184Z","pocChangedAt":null}}