Description (CNA)
BlueKitchen BTstack through 1.8.2 fails to validate the peer-reported endpoint count against table bounds in A2DP stream endpoint discovery. A bonded peer can send an AVDTP DISCOVER response with more endpoints than the fixed table holds, causing out-of-bounds writes that corrupt adjacent static objects and crash the process or sever event delivery.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| BlueKitchen GmbH / BTstack | affected 0 through 1.8.2 |
CWE
CWE-787, CWE-1284
References
- https://github.com/bluekitchen/btstack/commit/fc208fcce056d4e0a5bb916abc90e83a383e1cdf
- https://github.com/bluekitchen/btstack/blob/v1.8.2/src/classic/a2dp.c#L568
- https://github.com/bluekitchen/btstack/blob/v1.8.2/src/classic/avdtp.c#L1703
- https://github.com/bluekitchen/btstack
- https://www.vulncheck.com/advisories/bluekitchen-btstack-through-1.8.2-a2dp-sep-discovery-out-of-bounds-write
ADP enrichment
No English description supplied.
No references supplied.