CVE-2026-107467

Out-of-bounds read in Bluetooth Mesh Firmware Distribution Server Receivers Get handler

Published Dec 6, 2026 CVSS 3.1 · 6.3 Medium EPSS n/a KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Zephyrproject
Zephyrproject zephyr
Vendors & Products Zephyrproject
Zephyrproject zephyr
Type Values Removed Values Added
Description 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.
Title Out-of-bounds read in Bluetooth Mesh Firmware Distribution Server Receivers Get handler
Weaknesses CWE-125
CWE-190
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
zephyr
Published
Updated
Dec 6, 2026, 3:16 PM
Reserved
Oct 8, 2026, 7:25 AM
Status
Awaiting Analysis
Published
Dec 6, 2026, 4:17 PM
Modified
Dec 6, 2026, 4:17 PM