CVEBrief

Home / zephyrproject / zephyr / CVE-2026-95821

CVE-2026-95821: is it exploited, and which versions of zephyrproject zephyr are affected and fixed?

CVE-2026-95821 is an expired Pointer Dereference vulnerability in zephyrproject zephyr. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: zephyr from 2.0.0 before 4.3.2 and zephyr from 4.4.0 before 4.5.0 (CVE record by zephyr). Fixed in 4.3.2 and 4.5.0 (CVE record by zephyr). Severity: Medium (6.5, CVSS 3.1, from zephyr).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 29, 2026, 21:05 UTC and NVD November 29, 2026, 22:09 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:39 UTC
Affected
zephyr from 2.0.0 before 4.3.2 and zephyr from 4.4.0 before 4.5.0
CVE record by zephyr
Fixed in
4.3.2 and 4.5.0
CVE record by zephyr
Severity
Medium 6.5
CVSS 3.1 from zephyr
Exploit odds (EPSS)
0.46% in 30 days
higher than 42% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-95821?

Dangling stack pointer left installed as TCP receive callback after a failed SOCKS5 handshake

The SOCKS5 client in subsys/net/lib/socks/socks.c passes the addresses of two of socks5_tcp_connect()'s own stack variables, method_rsp and cmd_rsp, to net_context_recv() as the user data for the negotiation and CONNECT response callbacks. For a TCP context net_context_recv() reaches net_tcp_recv(), which only stores context->recv_cb and conn->recv_user_data and never removes them. On the success path zsock_connect_ctx() immediately replaces them with zsock_received_cb(), but on every error path nothing did, so the network context was left holding a pointer into a stack frame that had already been destroyed. Any remote peer acting as the proxy can arm this with a protocol-legal response: answering the method negotiation with NO ACCEPTABLE METHODS (0xFF), sending a bad version byte, returning a non-success REP in the CONNECT reply, or simply stalling until CONFIG_NET_SOCKETS_CONNECT_TIMEOUT expires all make socks5_tcp_connect() return an error while the callbacks stay installed. The dangling pointer is then dereferenced asynchronously from the networking threads: tcp_conn_close() in subsys/net/ip/tcp.c invokes context->recv_cb() on FIN, RST or timeout, and the callback memset()s through the stale pointer, while any further data on the socket reaches net_context_packet_received() and makes net_pkt_read() write peer-supplied bytes there. The result is a write of two to four bytes (zeroes on the teardown path, peer-chosen bytes on the data path) into a stack region of the thread that called connect(), at a moment when that thread may have reused the memory for a live frame. The write address is not attacker-controlled, so the practical impact is limited corruption or a crash rather than a directed memory-write primitive; the author observed it as a SEGV in tcp_conn_close() under CONFIG_ASAN. Only configurations with CONFIG_SOCKS enabled and a SOCKS5 proxy configured on the socket are affected. The fix routes the error returns through a common exit that calls net_context_recv(ctx, NULL, K_NO_WAIT, NULL), uninstalling the callback and the user-data pointer before the stack frame goes away.

From the CVE record by zephyr, last updated November 29, 2026, 20:56 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
zephyrprojectzephyrfrom 2.0.0 before 4.3.2
from 4.4.0 before 4.5.0
4.3.2, 4.5.0

As the CVE record by zephyr states it, last updated November 29, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-95821?

ScoreVersionVectorSource
Medium 6.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:Lzephyr

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-95821 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.46% probability of exploitation activity in the next 30 days, percentile 42.0 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
September 22, 2026
Published
November 29, 2026, 20:56 UTC
CVE record updated
November 29, 2026, 20:56 UTC by zephyr
NVD
Awaiting Analysis, last modified November 29, 2026, 21:17 UTC
Last checked
CVE list November 29, 2026, 21:05 UTC; NVD November 29, 2026, 22:09 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect zephyr?

Every CVE in zephyr

Questions about CVE-2026-95821

Is CVE-2026-95821 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.46% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of zephyrproject zephyr are affected by CVE-2026-95821?

zephyr from 2.0.0 before 4.3.2 and zephyr from 4.4.0 before 4.5.0, per the CVE record by zephyr. The tables above give every range the sources list.

Which version fixes CVE-2026-95821?

4.3.2 and 4.5.0, per the CVE record by zephyr. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-95821?

Medium (6.5, CVSS 3.1, from zephyr). The severity table above shows each score with its source.

Where is the official record of CVE-2026-95821?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.