Impact
The Zephyr OTS server wrongly appends a four‑byte Checksum Value field to the OACP response even when the Calculate Checksum command fails. The buffer used for the checksum is uninitialized; on success it is filled, but on every failure path it remains empty. When the response is transmitted, four bytes of stack memory are copied to the indication and sent to the peer. No memory corruption occurs, but the data leaked can reveal internal state. On builds where CONFIG_ASSERT is enabled, the same zero‑length pull triggers an assertion and causes the device to panic, providing a remote denial of service. The disclosure is limited to four bytes per request, but can be repeated whenever a client issues a failing Calculate Checksum command. The vulnerability is triggered by any peer that can connect to the device and perform the OACP interaction. The GATT permissions for the OACP characteristic and its CCCD are BT_GATT_PERM_WRITE and BT_GATT_PERM_READ|BT_GATT_PERM_WRITE, meaning no pairing, encryption, or authentication is required; any device within radio range can exploit it. The CVSS score of 7.1 marks the issue as High. EPSS data are not available, and the bug is not listed in the CISA KEV catalog. Attackers do not need privileged credentials – they simply need to send a Calculate Checksum request that fails validation and enable OACP indications – making the exploit straightforward over Bluetooth radio. By exploiting the flaw, an attacker can repeatedly read four bytes of uninitialized memory and, on assertion‑enabled builds, crash the device. The impact affects confidentiality through memory disclosure and availability through potential device resets.
Affected Systems
Affected system: Zephyr RTOS released by Zephyr Project. The vulnerability exists in the Zephyr OTS server component and applies to any device running Zephyr that has the OACP service enabled. No specific version information is provided in the advisory; the issue is based on the upstream code as of the referenced commit. Systems that incorporate the OTS server and permit OACP indications without authentication are vulnerable.
Risk and Exploitability
The CVSS score of 7.1 marks the issue as High. EPSS data are not available, and the bug is not listed in the CISA KEV catalog. Attackers do not need privileged credentials – they simply need to send a Calculate Checksum request that fails validation and enable OACP indications – making the exploit straightforward over Bluetooth radio. By exploiting the flaw, an attacker can repeatedly read four bytes of uninitialized memory and, on assertion‑enabled builds, crash the device. The impact affects confidentiality through memory disclosure and availability through potential device resets.
OpenCVE Enrichment