CVE-2026-13213: memory-safety in zephyrproject zephyr
CVE-2026-13213 is a medium severity memory-safety vulnerability in the Zephyr project's Hearing Access Service (HAS) GATT server. It occurs because the service attribute pointers remain NULL until the application registers the service, but security callbacks run earlier, causing a NULL pointer dereference or assertion failure. This can be triggered remotely by a previously bonded Bluetooth peer reconnecting during a boot-time race window before service registration completes. The impact is denial of service via a crash, with no memory corruption or data disclosure. A fix involves adding a guard to prevent notification work before service registration.
AI Analysis
Technical Summary
The Hearing Access Service (HAS) GATT server in Zephyr installs a connection callback that runs security_changed() for every connection establishing security, even before the application calls bt_has_register(). Since service attribute pointers are NULL until registration, a reconnecting bonded peer during the boot window triggers notify_work_handler, which calls bt_gatt_is_subscribed() with a NULL attribute pointer. This causes an assertion failure or NULL dereference, crashing the HAS peripheral. The vulnerability requires a previously bonded peer reconnecting within the startup race window and results in a remotely triggerable denial of service. The fix adds an early check in security_changed() to return if the service is not yet registered, preventing the crash.
Potential Impact
This vulnerability allows a remote attacker with a previously bonded Bluetooth connection to cause a denial of service by crashing the HAS peripheral during a specific boot-time window before the service is registered. There is no impact on confidentiality or integrity, and no memory corruption occurs. The denial of service can be prolonged by persistent reconnection attempts from the bonded peer.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix adds a guard in security_changed() to prevent notification work before service registration, which addresses the issue. Until an official fix is available, avoid scenarios where bonded peers reconnect during the boot-time window before bt_has_register() is called.
CVE-2026-13213: memory-safety in zephyrproject zephyr
Description
CVE-2026-13213 is a medium severity memory-safety vulnerability in the Zephyr project's Hearing Access Service (HAS) GATT server. It occurs because the service attribute pointers remain NULL until the application registers the service, but security callbacks run earlier, causing a NULL pointer dereference or assertion failure. This can be triggered remotely by a previously bonded Bluetooth peer reconnecting during a boot-time race window before service registration completes. The impact is denial of service via a crash, with no memory corruption or data disclosure. A fix involves adding a guard to prevent notification work before service registration.
CVSS v3.1
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Hearing Access Service (HAS) GATT server in Zephyr installs a connection callback that runs security_changed() for every connection establishing security, even before the application calls bt_has_register(). Since service attribute pointers are NULL until registration, a reconnecting bonded peer during the boot window triggers notify_work_handler, which calls bt_gatt_is_subscribed() with a NULL attribute pointer. This causes an assertion failure or NULL dereference, crashing the HAS peripheral. The vulnerability requires a previously bonded peer reconnecting within the startup race window and results in a remotely triggerable denial of service. The fix adds an early check in security_changed() to return if the service is not yet registered, preventing the crash.
Potential Impact
This vulnerability allows a remote attacker with a previously bonded Bluetooth connection to cause a denial of service by crashing the HAS peripheral during a specific boot-time window before the service is registered. There is no impact on confidentiality or integrity, and no memory corruption occurs. The denial of service can be prolonged by persistent reconnection attempts from the bonded peer.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix adds a guard in security_changed() to prevent notification work before service registration, which addresses the issue. Until an official fix is available, avoid scenarios where bonded peers reconnect during the boot-time window before bt_has_register() is called.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- zephyr
- Date Reserved
- 2026-06-24T15:29:16.365Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8c7de7acd9273b49e1b31d
Added to database: 08/24/2026, 17:22:47 UTC
Last enriched: 08/24/2026, 17:54:03 UTC
Last updated: 08/24/2026, 17:54:03 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.