CVE-2026-5066

HighCVSS 8.8/10Last modified Oct 15, 2026

Description

A potential out-of-bounds write/read exists in the TLS socket connect path of the network sockets subsystem (subsys/net/lib/sockets/sockets_tls.c). When the TLS session cache is enabled, tls_session_store() and tls_session_restore() memcpy the caller-supplied address into a fixed-size buffer using the caller-controlled addrlen value without validating it against the destination size. struct net_sockaddr is an opaque type, so an application can pass an addrlen larger than sizeof(struct net_sockaddr) (for example 128 bytes into a 24-byte stack buffer), causing the memcpy to read and write past the end of the address memory used by the TLS session cache. This out-of-bounds write can lead to a crash and denial of service, and potentially to arbitrary code execution.

Metrics

CVSS 3.1 8.8/10CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Jun 4, 2026
Last modified
Oct 15, 2026
NVD status
Analyzed

Related CVEs from 2026

CVE-2026-506614.6Protection mechanism failure in Windows BitLocker allows an unauthorized attacker to bypass a security feature with a physical attack.CVE-2026-506638.8Relative path traversal in Age of Empires II: Definitive Edition Game allows an unauthorized attacker to execute code over a network.CVE-2026-506653.3Out-of-bounds read in Microsoft Office allows an unauthorized attacker to disclose information locally.CVE-2026-506668.8Use after free in Windows Remote Access Connection Manager allows an authorized attacker to elevate privileges over a network.CVE-2026-506677.0Concurrent execution using shared resource with improper synchronization ('race condition') in Windows NTFS allows an authorized attacker toCVE-2026-506686.8Heap-based buffer overflow in Windows NTFS allows an unauthorized attacker to elevate privileges with a physical attack.CVE-2026-506697.0Concurrent execution using shared resource with improper synchronization ('race condition') in Windows Telephony Service allows an authorizeCVE-2026-50679.8A remote, unauthenticated attacker can trigger memory corruption in Zephyr's HTTP server WebSocket upgrade path by sending a crafted Sec-WebCVE-2026-506707.8Out-of-bounds read in Windows Kernel allows an authorized attacker to elevate privileges locally.CVE-2026-506727.0Use after free in Windows NTFS allows an authorized attacker to elevate privileges locally.CVE-2026-506737.8Null pointer dereference in Windows Kernel allows an authorized attacker to elevate privileges locally.CVE-2026-506747.8Use after free in Windows USB Print Driver allows an authorized attacker to elevate privileges locally.
CVE-2026-5066: High severity, CVSS 8.8 | Vulnix