Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain provisioner or admin credential for mesh network
-
DeliveryConnect to target node over Bluetooth Mesh
-
ExploitSend repeated NetKey Delete and NetKey Add command pairs
-
ExecutionLeak one PSA key slot per teardown cycle
-
PersistExhaust 16-slot default pool after ~12-16 cycles
-
ImpactNode fails subnet creation and may starve other PSA crypto consumers
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
|
| Exploitation Conditions | CONFIG_BT_MESH_PRIV_BEACONS must be enabled in the build - this is the default for Zephyr Bluetooth Mesh builds and requires no special operator action to be vulnerable. The attacker must hold provisioner or network administrator status for the target mesh network, which grants access to the node's device key (PR:H per CVSS). Reachability is adjacent Bluetooth Mesh (AV:A), bounded by Bluetooth range and mesh topology. Exploitation requires roughly 12 or more repeated teardown cycles (NetKey Delete, Key Refresh Procedure completion, or reprovisioning) to exhaust the default 16-slot pool; a single operation causes a one-slot leak with no immediate observable effect. What limits exploitation: high-privilege access requirement eliminates unauthenticated or low-privilege threat actors; Bluetooth adjacency limits remote mass exploitation; a device reboot fully restores the key-slot pool; and the impact is denial-of-service to subnet operations only, with no confidentiality or integrity consequences. |
| Impact | The vendor-assigned CVSS 3.1 score of 2.4 (AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L) accurately reflects the limited blast radius: exploitation requires adjacent Bluetooth Mesh reachability and a high-privilege provisioner or network administrator credential - attack surface is narrow by design. The availability impact is rated Low because the failure mode (slot exhaustion) is reversible via device reboot and affects only subnet operations plus potentially other PSA consumers, not a full system crash. No EPSS data was provided, no CISA KEV listing exists, and no public exploit or POC has been identified. The CVSS C:N/I:N components confirm there is no credential exposure or data tampering, consistent with CWE-401 scope. In practice, this vulnerability represents a maintenance concern for mesh network operators rather than an urgent incident-response priority: an attacker would need trusted provisioner status, physical proximity, and patience across roughly a dozen operations. The primary realistic threat actor is a malicious insider with legitimate network-admin access, not an opportunistic remote adversary. |
| Exploit ScenarioDerived | A Bluetooth Mesh provisioner or network administrator with the target node's device key sends repeated Config Server NetKey Delete followed by NetKey Add commands over the mesh network. Each complete add/delete cycle leaks one PSA key slot. After approximately 12 to 16 cycles (depending on baseline slot usage), bt_mesh_private_beacon_key() returns a PSA error, subnet creation fails, and any other component on the device consuming PSA key slots may also begin to fail. The node remains in this degraded state until rebooted. No public proof-of-concept exists; the attack sequence is straightforward from the description and requires no exploit tooling beyond a standard Bluetooth Mesh stack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 02, 2026
PSA Crypto key slot exhaustion in Zephyr's Bluetooth Mesh subnet.c permanently leaks one key slot on every subnet key teardown when CONFIG_BT_MESH_PRIV_BEACONS is enabled (the default). Devices running Zephyr 3.6.0 through 4.4.x are affected: a provisioner or network administrator with the node's device key can trigger the leak via Config Server NetKey Delete, Key Refresh Procedure, or reprovisioning over the Bluetooth Mesh network. With the default pool of 16 PSA key slots, roughly a dozen such operations exhaust the pool, preventing subnet creation and potentially starving other on-device PSA consumers until a reboot. No public exploit or CISA KEV listing exists; real-world impact is constrained by the high-privilege and proximity requirements.
RemediationAI
Upgrade to Zephyr 4.5.0 or any later release containing commit f573da9f53630082ae95fcfd39fb021fe15f7abd, which changes the preprocessor guard in subnet_keys_destroy() from CONFIG_BT_MESH_V1d1 to CONFIG_BT_MESH_PRIV_BEACONS, symmetrically conditioning the psa_destroy_key() call to match the psa_import_key() call in net_keys_create(). The patch is documented at https://github.com/zephyrproject-rtos/zephyr/commit/f573da9f53630082ae95fcfd39fb021fe15f7abd. For deployments that cannot upgrade immediately, two compensating controls exist with trade-offs: (1) Disable CONFIG_BT_MESH_PRIV_BEACONS in the build configuration - this eliminates the leak entirely but removes Private Beacon functionality, which is required for enhanced privacy in Mesh 1.1 networks; (2) Increase CONFIG_MBEDTLS_PSA_KEY_SLOT_COUNT beyond the default of 16 to slow exhaustion rate - this delays but does not eliminate the leak, and consumes additional RAM proportional to slot count. Restrict Config Server NetKey Delete and Key Refresh Procedure messages to trusted provisioners as an operational control.
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
Zephyr RTOS (cpe:2.3:a:zephyrproject:zephyr:*:*:*:*:*:*:*:*) implements Bluetooth Mesh in subsys/bluetooth/mesh/subnet.c. The PSA Crypto API allocates opaque key slots from a shared pool sized by CONFIG_MBEDTLS_PSA_KEY_SLOT_COUNT (default 16). net_keys_create() calls bt_mesh_private_beacon_key() - which imports the Private Beacon Key via psa_import_key() - whenever CONFIG_BT_MESH_PRIV_BEACONS is defined (enabled by default). The balancing psa_destroy_key() in subnet_keys_destroy() was historically gated on CONFIG_BT_MESH_V1d1, a Kconfig symbol that was removed when explicit Mesh 1.0.1 support was dropped. The destroy branch therefore became unreachable dead code, producing a classic CWE-401 (Missing Release of Memory after Effective Lifetime) resource leak at the PSA key-slot layer. The commit diff confirms the one-line fix: changing the preprocessor guard from CONFIG_BT_MESH_V1d1 to CONFIG_BT_MESH_PRIV_BEACONS so allocation and deallocation are symmetrically conditioned.
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:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bluetooth Mesh adjacency (AV:A), provisioner credential required (PR:H), and purely availability impact via slot exhaustion reversible by reboot (A:L) justify this vector.
Primary rating from Vendor (zephyr).
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
Zephyr's Bluetooth Mesh subnet key management leaks one PSA Crypto key slot on every subnet-key teardown. In subsys/bluetooth/mesh/subnet.c, net_keys_create() imports the Private Beacon Key into a PSA key slot under CONFIG_BT_MESH_PRIV_BEACONS (enabled by default), but subnet_keys_destroy() guarded the matching psa_destroy_key() with CONFIG_BT_MESH_V1d1. That Kconfig symbol was removed when explicit Mesh 1.0.1 support was dropped, so the destroy branch became permanently dead code and the import is never balanced by a destroy.
The imbalanced teardown is reached every time subnet keys are destroyed: deleting a subnet (Config Server NetKey Delete), completing a Key Refresh Procedure (which retires the old key set), and resetting/re-provisioning the node. The over-the-air triggers are processed only under the node's device key, so they are exercisable by the provisioner or network administrator that owns the node, reachable over the Bluetooth Mesh network.
With the default CONFIG_MBEDTLS_PSA_KEY_SLOT_COUNT of 16, repeated add/delete or key-refresh cycles exhaust the shared PSA key-slot pool after roughly a dozen rounds. Once exhausted, bt_mesh_private_beacon_key() and thus subnet creation fail: the node can no longer add subnets or complete key refresh, and other PSA crypto consumers on the device may be starved, until the device is rebooted. The fix aligns the destroy guard with the import guard (CONFIG_BT_MESH_PRIV_BEACONS) so each slot is freed.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-52002
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB