CVE Catalog

CVE-2026-107467

MediumCVSS 6.3
Published: Updated: Translated: NVD NIST

Summary

The Bluetooth Mesh Firmware Distribution Server in handle_receivers_get() (subsys/bluetooth/mesh/dfd_srv.c) limits returned entries with MIN(cnt, srv->target_cnt - first), where first is the First Index from the message. When first exceeds srv->target_cnt, the subtraction is negative and storing it in uint16_t wraps to a large count, so the loop reads srv->targets[first + i] out of bounds. Any mesh node holding an application key bound to the Firmware Distribution Server model can send a 4-byte Receivers Get with an out-of-range index, leaking fragments of device RAM in the Receivers List response or faulting and crashing the distributor node.

Risk Assessment

An attacker within radio or relay range can disclose fragments of device memory and crash the distributor node, disrupting firmware updates in the mesh network. The leak may expose sensitive data adjacent to the targets array.

Recommendation

Update Zephyr to a version with the fix that returns an empty list when First Index is out of range, as required by the Mesh DFU specification. Until then, restrict access to application keys bound to the Firmware Distribution Server model.

Related vulnerabilities

Original NVD description (English source)

The Bluetooth Mesh Firmware Distribution Server handles Receivers Get in handle_receivers_get() (subsys/bluetooth/mesh/dfd_srv.c). This handler limits the number of returned entries with MIN(cnt, srv->target_cnt - first), where first is the First Index taken from the message. When first is greater than srv->target_cnt, the subtraction is negative after integer promotion. The MIN() macro then returns that negative value, and storing it in the uint16_t cnt wraps it to a large count. The loop then reads srv->targets[first + i] with no bound other than the response buffer's tailroom. Any mesh node holding an application key bound to the Firmware Distribution Server model can trigger this. Within radio or relay range, it sends a 4-byte Receivers Get message whose First Index is beyond the current receiver count. For example, any non-zero index when no receivers are configured, which is the default state. Because First Index can be as large as 65535, the reads can land up to roughly 1.3 MB past the targets array (with the default CONFIG_BT_MESH_DFD_SRV_TARGETS_MAX of 8). The server copies bit fields from the out-of-bounds memory into the Receivers List response and sends it to the requester. This leaks fragments of adjacent device RAM. A large index can also make the read hit unmapped or protected memory and fault, crashing the distributor node. The fix sends an empty list when First Index is out of range, as the Mesh DFU specification requires.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS