{"schema":"vulnpedia.research/1","cve":"CVE-2026-95822","references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/commit/b066e8a6ae1706cd0b3a6dbc61a5861f62944f95","tags":["patch"],"source":"mitre","sourceId":"zephyr","modified":"2026-11-17T19:39:10.656Z","origins":[{"source":"mitre","sourceId":"zephyr","modified":"2026-11-17T19:39:10.656Z","tags":["patch"],"url":"https://github.com/zephyrproject-rtos/zephyr/commit/b066e8a6ae1706cd0b3a6dbc61a5861f62944f95"},{"source":"nvd","sourceId":"CVE-2026-95822","modified":"2026-11-17T20:17:59.873","url":"https://github.com/zephyrproject-rtos/zephyr/commit/b066e8a6ae1706cd0b3a6dbc61a5861f62944f95"}]},{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-xvvw-v57r-7rwm","source":"mitre","sourceId":"zephyr","modified":"2026-11-17T19:39:10.656Z","origins":[{"source":"mitre","sourceId":"zephyr","modified":"2026-11-17T19:39:10.656Z","url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-xvvw-v57r-7rwm"},{"source":"nvd","sourceId":"CVE-2026-95822","modified":"2026-11-17T20:17:59.873","url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-xvvw-v57r-7rwm"}],"tags":[]},{"source":"euvd","sourceId":"EUVD-2026-127367","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-127367","tags":["ADVISORY"],"origins":[{"source":"euvd","sourceId":"EUVD-2026-127367","tags":["ADVISORY"],"url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-127367"}]}],"packages":[],"pocCandidates":[],"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-11-17T20:13:27.798Z","nvd":"2026-11-17T20:17:59.873"},"sourceFields":{"schema":"vulnpedia.source-fields/1","primary":{"description":"The SOCKS5 client in subsys/net/lib/socks/socks.c built the CONNECT request in socks5_tcp_connect() by choosing the SOCKS5 address type from the address family of the proxy (proxy->sa_family) while reading the bytes out of the destination address supplied to connect(). A SOCKS5 request encodes the destination independently of the transport used to reach the proxy, so the two families are unrelated and nothing in the path forces them to agree: set_context_proxy() only requires the proxy family to match the socket, and zsock_connect_ctx() enters the SOCKS branch before any destination validation. With an IPv6 proxy and an AF_INET destination the code treated an 8-byte struct net_sockaddr_in as a struct net_sockaddr_in6 and copied the 16-byte sin6_addr from it, reading 12 bytes past the end of the object and transmitting them to the proxy.\n\nWith CONFIG_USERSPACE enabled, z_vrfy_zsock_connect() copies only addrlen user bytes into a stack-resident struct net_sockaddr_storage and enforces no per-family minimum length, so the oversized read stays within the storage but returns stale, uninitialised kernel-stack bytes. An unprivileged user-mode thread can therefore open an AF_INET6 stream socket, point setsockopt(SO_SOCKS5) at a proxy it controls, and call connect() with a short AF_INET destination to have the kernel send it 12 bytes of supervisor stack residue per attempt. Without CONFIG_USERSPACE the read runs past the end of the caller's own struct net_sockaddr_in, disclosing adjac","published":"2026-11-17","cwe":[{"id":"CWE-125","name":"bounds"}],"labels":{"vendors":["zephyrproject"],"products":["zephyr"]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"}},"nvd":{"description":"The SOCKS5 client in subsys/net/lib/socks/socks.c built the CONNECT request in socks5_tcp_connect() by choosing the SOCKS5 address type from the address family of the proxy (proxy->sa_family) while reading the bytes out of the destination address supplied to connect(). A SOCKS5 request encodes the destination independently of the transport used to reach the proxy, so the two families are unrelated and nothing in the path forces them to agree: set_context_proxy() only requires the proxy family to match the socket, and zsock_connect_ctx() enters the SOCKS branch before any destination validation. With an IPv6 proxy and an AF_INET destination the code treated an 8-byte struct net_sockaddr_in as a struct net_sockaddr_in6 and copied the 16-byte sin6_addr from it, reading 12 bytes past the end of the object and transmitting them to the proxy.\n\nWith CONFIG_USERSPACE enabled, z_vrfy_zsock_connect() copies only addrlen user bytes into a stack-resident struct net_sockaddr_storage and enforces no per-family minimum length, so the oversized read stays within the storage but returns stale, uninitialised kernel-stack bytes. An unprivileged user-mode thread can therefore open an AF_INET6 stream socket, point setsockopt(SO_SOCKS5) at a proxy it controls, and call connect() with a short AF_INET destination to have the kernel send it 12 bytes of supervisor stack residue per attempt. Without CONFIG_USERSPACE the read runs past the end of the caller's own struct net_sockaddr_in, disclosing adjac","published":"2026-11-17","cwe":[{"id":"CWE-125","name":"Out-of-bounds read"}],"labels":{"vendors":[],"products":[]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"}}},"labels":{"vendors":["zephyrproject"],"products":["zephyr"]},"evidence":{"version":"2026-12-02T08:13:57.184Z#e76d59a0e2326aca7aa9dc0f45d639001e523983099d305dd602c2077e3850d0","checkedAt":"2026-12-02T08:13:57.184Z","changedAt":"2026-12-01T08:12:50.035Z","pocChangedAt":null}}