# CVE-2026-5589: Out-of-bounds write caused by an integer underflow in the Bluetooth Mesh subsystem.

- Severity: Medium 6.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-04T19:54:49.456Z
- Modified: 2026-10-15T23:17:37.927Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: zephyr

## 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.

(As written by CVE List.)

## Affected

- Zephyr: from * before 4.3.1
- zephyrproject zephyr: up to 4.3.0

## References

- <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-4pm9-4v7f-x6gr> (exploit, patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-5589](https://www.cve.org/CVERecord?id=CVE-2026-5589), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-5589](https://nvd.nist.gov/vuln/detail/CVE-2026-5589), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-5589 · Whole record: https://cve.day/CVE-2026-5589.json · Rebuilt by cve.day 2026-11-25T22:59:23.725Z
