{"id":"CVE-2026-5589","revision":"fa12a7256f5345a6b9c00269363ffda7","records":[{"revision":"fa12a7256f5345a6b9c00269363ffda7","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-5589","aliases":[],"title":"Out-of-bounds write caused by an integer underflow in the Bluetooth Mesh subsystem.","description":"An integer underflow in bt_mesh_sol_recv() in the Bluetooth Mesh solicitation handling (subsys/bluetooth/mesh/solicitation.c) leads to an out-of-bounds write. When CONFIG_BT_MESH_OD_PRIV_PROXY_SRV is enabled, the function parses solicitation PDUs from raw BLE advertising payloads. The AD parsing loop reads an attacker-controlled length byte (reported_len) and computes reported_len - 3 without checking that reported_len >= 3. When reported_len is less than 3, the subtraction is performed in signed int arithmetic and yields a negative value that bypasses the length guard and is then implicitly converted to a very large size_t when passed to net_buf_simple_pull_mem(). In builds without assertions, this wraps the buffer length and advances the data pointer far out of bounds, so subsequent reads dereference invalid memory. A nearby BLE device can trigger this with a non-connectable advertisement carrying a UUID16 AD structure and a crafted length byte, with no pairing or prior association required, potentially leading to denial of service or arbitrary code execution.","state":0,"publishedAt":"2026-06-04T19:54:49.456+00:00","modifiedAt":"2026-10-15T22:10:27.343+00:00","affected":[{"ecosystem":"Vendor product","name":"Zephyr","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageName\": \"Zephyr\",\n                    \"product\": \"Zephyr\",\n                    \"repo\": \"https://github.com/zephyrproject-rtos/zephyr\",\n                    \"vendor\": \"zephyrproject-rtos\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"4.3.1\",\n                            \"status\": \"affected\",\n                            \"version\": \"*\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-4pm9-4v7f-x6gr"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-5589","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-5589","identifiers":["CVE-2026-5589"]},"retained":false,"historicalAffected":[]}],"coverage":[]}