CVE-2026-13213
Last modified
CVE-2026-13213 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. The Hearing Access Service (HAS) GATT server in subsys/bluetooth/audio/has.c installs a connection-callback set unconditionally via BT_CONN_CB_DEFINE, so security_changed() runs for every connection that establishes security even before the application has called bt_has_register(). The service attribute pointers hearing_aid_features_attr, preset_control_point_attr, and active_preset_index_attr remain NULL until bt_has_register() resolves them and sets has.registered. With CONFIG_BT_SETTINGS, settings_set_cb() restores each bonded client's persisted context at boot and unconditionally sets context->flags to BONDED_CLIENT_INIT_FLAGS (non-zero). EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
The Hearing Access Service (HAS) GATT server in subsys/bluetooth/audio/has.c installs a connection-callback set unconditionally via BT_CONN_CB_DEFINE, so security_changed() runs for every connection that establishes security even before the application has called bt_has_register(). The service attribute pointers hearing_aid_features_attr, preset_control_point_attr, and active_preset_index_attr remain NULL until bt_has_register() resolves them and sets has.registered. With CONFIG_BT_SETTINGS, settings_set_cb() restores each bonded client's persisted context at boot and unconditionally sets context->flags to BONDED_CLIENT_INIT_FLAGS (non-zero). When a previously bonded peer reconnects and re-establishes security during the startup window before bt_has_register() has been called, security_changed() sees the non-zero flags and schedules notify_work_handler, which calls bt_gatt_is_subscribed() with a still-NULL attribute pointer. That triggers an assertion (__ASSERT(attr, ...) in bt_gatt_is_subscribed()), or a NULL dereference of attr->uuid when assertions are compiled out. The result is a remotely triggerable (Bluetooth, adjacent) crash of the HAS peripheral. Exploitation requires the peer to have previously bonded with the device and to reconnect within the boot-time race window before the application registers the service; a peer that reconnects persistently can prolong the outage. Impact is denial of service only, with no memory corruption or information disclosure. The fix adds an early if (!has.registered) { return; } guard in security_changed(), so no notification work is scheduled until the GATT service is registered and its attribute pointers are valid.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| zephyrproject | zephyr | >= 3.6.0, < 4.4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-13213?
How severe is CVE-2026-13213?
How do I fix CVE-2026-13213?
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-13207FUXA versions 1.3.1 and prior contain an authentication bypa…8.7
- CVE-2026-13208A flaw was found in KubeVirt's virt-handler domain notify se…6.5
- CVE-2026-1321The Membership Plugin – Restrict Content plugin for WordPres…8.1
- CVE-2026-13210GitLab has remediated an issue in GitLab CE/EE affecting all…7.7
- CVE-2026-13211The genucenter web interface before version 8.0p11 unnecessa…4.3
- CVE-2026-13212The Zephyr virtio driver does not validate the descriptor-ch…8.8
- CVE-2026-13214The OCPP 1.6 client in subsys/net/lib/ocpp/ocpp_j.c contains…9.8
- CVE-2026-13215The Zephyr ext2 filesystem driver fails to validate the s_lo…6.8
- CVE-2026-13216The virtio PCI driver (drivers/virtio/virtio_pci.c) parses a…6.1
- CVE-2026-13217The OCPP 1.6 client in subsys/net/lib/ocpp/ocpp.c reconstruc…5.9
- CVE-2026-13218A flaw was found in KubeVirt's virt-handler network cache ha…4.2
- CVE-2026-1322GitLab has remediated an issue in GitLab CE/EE affecting all…8.1
Are you affected by CVE-2026-13213?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
