{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-5066","published":"2026-06-04T21:16:30.907000Z","last_modified":"2026-10-15T23:17:37.257000Z","status":"Analyzed","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*","part":"o","vendor":"zephyrproject","product":"zephyr","version_end_including":"4.3.0"}],"cpes_truncated":false,"vendors":["zephyrproject"],"products":["zephyrproject/zephyr"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"os","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2026-5066/","html_en":"/en/cve/CVE-2026-5066/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-5066","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-5066"},"untrusted":{"vendor_name":"Zephyrproject","product_name":"Zephyr","desc_en":"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.","affected":[{"untrusted_vendor":"zephyrproject-rtos","untrusted_product":"Zephyr","versions":[]}],"references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wgrc-jrf6-24f3","tags":["Exploit","Patch","Vendor Advisory"]}]}}