CVE-2026-93671
Last modified
CVE-2026-93671 is a low-severity vulnerability rated 3.7/10 on the CVSS scale. The websocket client's HTTP header callback on_header_value() in subsys/net/lib/websocket/websocket.c receives the Sec-WebSocket-Accept header value as a pointer/length pair from the HTTP parser. The referenced bytes live inside the application-supplied receive buffer and are not NUL terminated.
Description
The websocket client's HTTP header callback on_header_value() in subsys/net/lib/websocket/websocket.c receives the Sec-WebSocket-Accept header value as a pointer/length pair from the HTTP parser. The referenced bytes live inside the application-supplied receive buffer and are not NUL terminated. When the received value did not match the expected accept key, the pointer was passed directly to a %s conversion in a NET_DBG() call, so the logging code measured the string with strlen() and read on past the end of the header value looking for a terminator. The value is supplied by the peer during the WebSocket handshake, before any application-level authentication, so a malicious or man-in-the-middle server reached over a ws:// (or otherwise attacker-terminated) connection can trigger the mismatch branch at will simply by answering with a wrong accept key. By sizing the response so the header value ends at the tail of the buffer passed to websocket_connect() as wreq->tmp_buf, the peer can make the scan run off the end of that buffer and into adjacent memory. The defective log statement is compiled in only when websocket debug logging is enabled (CONFIG_NET_WEBSOCKET_LOG_LEVEL_DBG=y, or CONFIG_LOG_DEFAULT_LEVEL=4); it is absent from a default build, which bounds exposure to diagnostic configurations. The consequence is an out-of-bounds read whose contents are emitted to the log stream: memory adjacent to the receive buffer is disclosed wherever the device's logs are collected or displayed. On targets where the memory following the buffer is not mapped, the scan can instead fault and terminate the connection or thread. No out-of-bounds write occurs, so there is no integrity impact. The fix copies at most sizeof(got) - 1 bytes of the parser-provided slice into a bounded stack buffer, NUL terminates the copy, and logs that instead, so the formatter never reads beyond the bytes the parser actually offered.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| zephyrproject | zephyr | >= 2.1.0, < 4.3.2; >= 4.4.0, < 4.5.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-93671?
How severe is CVE-2026-93671?
How do I fix CVE-2026-93671?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-93666The Bluetooth Classic SDP client built its outgoing request …5.3
- CVE-2026-93667The Virtual L2 receive handler virtual_recv() in subsys/net/…5.9
- CVE-2026-93668The Bluetooth Classic SDP server in subsys/bluetooth/host/cl…6.5
- CVE-2026-93669The ITE IT8xxx2 SHI host-command backend in subsys/mgmt/ec_h…4.7
- CVE-2026-9367A vulnerability was determined in NousResearch hermes-agent …7.3
- CVE-2026-93670The Synopsys DesignWare I3C controller driver (drivers/i3c/i…3.5
- CVE-2026-93672bt_att_find_req_by_user_data() in subsys/bluetooth/host/att.…5.3
- CVE-2026-93673The Zephyr WebSocket client validates the server's handshake…4.8
- CVE-2026-93674IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote a…9.8
- CVE-2026-93675IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote a…9.8
- CVE-2026-93676xdg-dbus-proxy incorrectly filters D-Bus broadcast messages,…3.2
- CVE-2026-93677IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote a…6.5
Are you affected by CVE-2026-93671?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
