CVE-2026-19938
Last modified
CVE-2026-19938 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. The Bluetooth host's ATT transmit path releases a buffer it does not own when signing fails. chan_send() in subsys/bluetooth/host/att.c documents (and every other error exit implements) the contract that on failure the caller retains ownership of the net_buf; the BT_ATT_OP_SIGNED_WRITE_CMD branch instead called net_buf_unref(buf) when bt_smp_sign() returned an error and then returned that error to the caller. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
The Bluetooth host's ATT transmit path releases a buffer it does not own when signing fails. chan_send() in subsys/bluetooth/host/att.c documents (and every other error exit implements) the contract that on failure the caller retains ownership of the net_buf; the BT_ATT_OP_SIGNED_WRITE_CMD branch instead called net_buf_unref(buf) when bt_smp_sign() returned an error and then returned that error to the caller. The callers act on the contract: process_queue() re-queues the buffer with k_queue_prepend(), bt_att_chan_send_rsp() puts it back on chan->tx_queue, bt_att_chan_req_send() restores it into the request, and att_req_retry() unreferences it — so the already-freed buffer was re-queued, later dereferenced, and eventually freed again. An ATT Signed Write Command is produced when an application calls bt_gatt_write_without_response_cb() with sign set on an unencrypted connection. bt_smp_sign() fails whenever no local CSRK exists for the peer (-ENOENT), and whether one exists is negotiated with the peer: smp_distribute_keys() stores a local CSRK only when the peer's pairing key-distribution field requests the signing key and bonding was agreed. A peer can therefore pair without accepting the CSRK, pair with No Bonding, remain unpaired, or keep the link unencrypted, and the victim's next signed write takes the failing path. Because struct net_buf's node field is simultaneously the linkage word for the ATT TX FIFO, for the deferred-destroy list used by the att_pool destroy callback att_tx_destroy(), and for the pool free list, the mishandled buffer corrupts these lists and can be re-issued by bt_att_create_pdu() to a new PDU while the ATT TX path still holds it. The same branch also saved the net_buf_simple_state only after signing, so a buffer restored after a bt_l2cap_send_pdu() failure kept its 12-octet signature; a subsequent retry re-signed it and appended a second signature with net_buf_add(buf, 12) to a buffer that bt_att_create_pdu() sized for exactly one, writing past the end of the pooled buffer in builds where the net_buf tailroom assertion is compiled out. Impact is host-side memory corruption in the Bluetooth stack: list corruption, a pooled ATT buffer with two owners (wrong PDU contents transmitted, or a double free when the queues are drained at disconnect), and a bounded out-of-bounds write on the retry path — typically observed as a crash or assertion failure. Exposure requires the deprecated CONFIG_BT_SIGNING to be enabled and an application that actually issues signed writes; in that configuration the triggering condition is under the remote peer's control.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| zephyrproject | zephyr | >= 2.3.0, < 4.5.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-19938?
How severe is CVE-2026-19938?
How do I fix CVE-2026-19938?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-19932A security flaw has been discovered in DefaultFuction Notice…6.3
- CVE-2026-19933A weakness has been identified in DefaultFuction Customer-Re…6.3
- CVE-2026-19934A vulnerability has been found in itsourcecode Hospital Mana…6.3
- CVE-2026-19935The Bluetooth LE host queues received L2CAP connection-orien…7.5
- CVE-2026-19936The Bluetooth Mesh Access-layer delayable message queue in s…4.8
- CVE-2026-19937The Bluetooth Mesh Access layer delayable-message machinery …5.7
- CVE-2026-19939The AVDTP signalling layer arms a 6-second command timeout (…6.3
- CVE-2026-1994The s2Member plugin for WordPress is vulnerable to privilege…9.8
- CVE-2026-19940The Bluetooth Classic Hands-Free Profile Audio Gateway imple…6.5
- CVE-2026-19941An inapplicable NSEC record may be accepted by a `named` res…5.9
- CVE-2026-19942The Atarim – AI Agency for WordPress: Edit Pages, Fix Code, …8.1
- CVE-2026-19943The Gutenverse – WordPress Blocks, Page Builder & Site Edito…6.4
Are you affected by CVE-2026-19938?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
