Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconEstablish prior Bluetooth bond with target device
-
DeliveryWait for target device reboot
-
ExploitReconnect within boot-time race window
-
InstallBLE security establishment triggers security_changed()
-
C2Non-zero persisted bond flags schedule notify_work_handler
-
Executebt_gatt_is_subscribed() called with NULL attribute pointer
-
ImpactAssertion or NULL dereference crashes HAS peripheral
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires four specific conditions to be simultaneously true: (1) the target device must be running Zephyr with CONFIG_BT_HAS and CONFIG_BT_SETTINGS both enabled at build time; (2) the attacking Bluetooth peer must have previously completed a Bluetooth bond with the target device - a bond that was persisted to non-volatile storage via the settings subsystem; (3) the attacking peer must reconnect and complete Bluetooth security establishment within the boot-time race window before the application calls bt_has_register() - a window whose duration depends entirely on application startup time and is not under the attacker's control; (4) the attacker must be within Bluetooth radio range (physically adjacent). Exploitation is strictly limited to denial of service: no memory corruption, no code execution, and no information disclosure are possible. A persistent peer can extend the outage by continuously triggering crashes across reboots. Devices without CONFIG_BT_SETTINGS are not vulnerable even if CONFIG_BT_HAS is enabled. |
| Impact | The CVSS 3.1 vector AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H scores 5.3 Medium and accurately reflects the constraint profile. AV:A correctly requires Bluetooth physical adjacency, limiting the attacker pool to devices within radio range. AC:H reflects the race condition: the bonded peer must reconnect and complete Bluetooth security establishment within the boot window before bt_has_register() is called - a timing dependency not entirely under the attacker's control. The impact ceiling is A:H (full availability loss via crash), with C:N and I:N confirmed explicitly by the description - the tags 'Buffer Overflow' and 'Information Disclosure' appearing in the intelligence metadata are inconsistent with the actual vulnerability behavior and should be disregarded. No CISA KEV listing and no EPSS data are available, so exploitation probability cannot be quantified numerically. A persistent reconnecting peer can loop the device into repeated crashes, amplifying the practical DoS impact beyond a single reboot. Overall, this is a genuine but constrained risk: it requires Bluetooth proximity, a pre-established bond, and favorable timing - making mass exploitation implausible but targeted disruption of specific paired devices realistic. |
| Exploit ScenarioDerived | An attacker who has previously paired a Bluetooth device with the target Zephyr HAS peripheral powers that device on near the target immediately after the target reboots. During the brief window before the target application completes bt_has_register(), the attacker's device completes BLE reconnection and Bluetooth security establishment, triggering security_changed(). The callback reads the non-zero persisted bond flags, schedules notify_work_handler, which calls bt_gatt_is_subscribed() with a NULL attribute pointer, crashing the HAS peripheral. No public exploit code has been identified; successful exploitation depends on winning the boot-time race, though a persistent attacker can repeat attempts across successive reboots to sustain the outage. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Zephyr RTOS's Hearing Access Service (HAS) GATT peripheral crashes when a previously bonded Bluetooth peer reconnects during a boot-time race window before bt_has_register() completes service initialization. The security_changed() callback - registered unconditionally via BT_CONN_CB_DEFINE - fires against NULL attribute pointers, triggering either a kernel assertion or a NULL dereference in bt_gatt_is_subscribed(). With CVSS AV:A/AC:H and confirmed DoS-only impact, this represents a medium-severity availability risk against embedded hearing-aid devices running Zephyr 3.6.0 through 4.4.1; no public exploit code has been identified, and a vendor patch is confirmed at 4.4.2.
RemediationAI
Upgrade to Zephyr 4.4.2 or later, which incorporates the one-line guard at commit cb2329e090755abde8e57cf1c12aa2b9ca41a6a2 (https://github.com/zephyrproject-rtos/zephyr/commit/cb2329e090755abde8e57cf1c12aa2b9ca41a6a2). Full advisory details are at https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-9rj8-3fvm-cc9f. If patching immediately is not feasible, two compensating controls are available with trade-offs: disabling CONFIG_BT_SETTINGS prevents boot-time restoration of bonded-client flag contexts and eliminates the triggering condition, but at the cost of losing bond persistence across reboots (paired devices must re-bond after each reboot); alternatively, restructuring application initialization to call bt_has_register() as early as possible - before enabling Bluetooth advertising - minimizes the race window, though it does not eliminate it entirely since the window begins at boot before the application runs.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in subsys/bluetooth/audio/has.c within Zephyr's Bluetooth audio stack (CPE: cpe:2.3:a:zephyrproject:zephyr:*:*:*:*:*:*:*:*), specifically the Hearing Access Service GATT server that implements the Bluetooth LE HAS profile used by hearing-aid peripherals. The root cause is CWE-476 (NULL Pointer Dereference): BT_CONN_CB_DEFINE installs security_changed() as a connection callback for all Bluetooth connections unconditionally, before the application-layer bt_has_register() call populates the hearing_aid_features_attr, preset_control_point_attr, and active_preset_index_attr GATT attribute pointers. When CONFIG_BT_SETTINGS is enabled, settings_set_cb() restores persisted bonded-client contexts at boot and sets context->flags to BONDED_CLIENT_INIT_FLAGS (non-zero). This non-zero flag causes security_changed() to schedule notify_work_handler, which calls bt_gatt_is_subscribed() with a still-NULL attr pointer. With assertions compiled in, __ASSERT(attr) fires; with assertions compiled out, attr->uuid is dereferenced through a NULL pointer. The fix - a four-line guard added at commit cb2329e090755abde8e57cf1c12aa2b9ca41a6a2 - inserts an early 'if (!has.registered) { return; }' before any notification work is scheduled.
Know when Zephyr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Bluetooth adjacency (AV:A) and race-window timing dependency (AC:H) constrain exploitation; DoS-only impact with no confidentiality or integrity loss sets C:N and I:N.
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),
An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on
Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit
Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS
Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner
Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability
Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul
zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(
Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul
The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte
Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c
EUVD-2026-65003
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB