Skip to main content

Zephyr RTOS EUVDEUVD-2026-55935

| CVE-2026-11893 MEDIUM
Double Free (CWE-415)
2026-08-11 vulnerabilities@zephyrproject.org
5.9
CVSS 3.1 · Vendor: zephyrproject
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Position within Bluetooth range
  2. Delivery
    Saturate BLE link to stress TX path
  3. Exploit
    Induce bt_bflb_send() controller TX failure
  4. Execution
    Trigger double net_buf_unref via shared 'done' label
  5. Persist
    Corrupt shared net_buf pool via premature parent buffer free
  6. Impact
    Crash Zephyr BLE stack (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Exploitation Conditions

The target device must be running Zephyr RTOS with an unpatched hci_bflb.c driver compiled for a Bouffalo Lab BL60x, BL70x, or BL61x on-chip BLE controller - devices using other BLE controllers (e.g., Nordic, Espressif) are unaffected. The attacker must be within Bluetooth radio range (adjacent network). The vulnerable code path is reached only when bt_bflb_send() encounters a controller send failure or an unsupported H:4 packet type; because these are conditions on the host-to-controller transmit path, a remote peer cannot directly inject a malformed packet to trigger them - the peer can only indirectly increase the probability of a TX failure by generating heavy BLE link load. This indirect triggering requirement is the primary limiting factor: reliable exploitation requires proximity, a sustained high-traffic BLE environment, and a degree of timing luck, significantly raising the practical bar beyond what the CVSS AC:H metric alone conveys.

Impact

The CVSS 3.1 base score of 5.9 (Medium) with vector AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H accurately reflects the constrained real-world risk. Attack vector is Adjacent, limiting exposure to devices within Bluetooth radio range; attack complexity is High because the error path is not directly driven by attacker-supplied radio bytes - a peer can only influence it indirectly by inducing controller TX failures under heavy link load, which is a probabilistic and environment-dependent condition. Availability impact is High (crash/BLE stack DoS) and Integrity is Low due to possible downstream memory corruption, but Confidentiality is unaffected. No KEV listing and no EPSS score were provided, so exploitation likelihood cannot be quantified. The vulnerability has no known public exploit. Scope is unchanged (U), confirming crash impact is bounded to the affected device's BLE subsystem. The niche deployment surface - Bouffalo Lab BLE SoCs running Zephyr - further limits population at risk. Overall, this is a genuine medium-severity embedded DoS with a credible but difficult-to-weaponize attack path, not a high-priority network-exploitable issue.

Exploit ScenarioDerived

An attacker within Bluetooth radio range of an IoT device running Zephyr RTOS on a Bouffalo Lab BL60x/BL70x/BL61x SoC saturates the BLE link with traffic to induce repeated controller TX failures in bt_bflb_send(), triggering the double net_buf_unref sequence and corrupting the shared net_buf pool. The resulting use-after-free causes the Zephyr BLE stack to crash or produce undefined memory behavior, achieving denial of service. No public exploit code exists at time of analysis; the indirect triggering mechanism (link saturation) makes reliable exploitation environment-dependent.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

Double-free corruption in Zephyr RTOS's Bouffalo Lab BLE HCI driver crashes the BLE stack on any device using a BL60x/BL70x/BL61x on-chip controller. The driver's bt_bflb_send() unconditionally consumed a net_buf reference on all error paths via a shared 'done' label, violating the bt_hci_driver_api contract that reserves unref responsibility for the caller on failure; the subsequent caller-side unref then double-decrements the reference count, prematurely freeing a parent TX buffer that remains reachable on the connection queue and corrupting the shared net_buf pool. No public exploit identified at time of analysis; EPSS data was not supplied, and CISA KEV listing is absent.

RemediationAI

The upstream fix is available as commit 76d92d502b30218aaf11cbbe1be180a317627bb9 in the Zephyr project repository (https://github.com/zephyrproject-rtos/zephyr/commit/76d92d502b30218aaf11cbbe1be180a317627bb9); a tagged patched release version has not been independently confirmed from the available data, so consumers should verify whether their Zephyr release branch has incorporated this commit or apply the patch manually to hci_bflb.c. The change is surgical - three error return sites in bt_bflb_send() are converted from 'goto done' to direct 'return' statements, eliminating the unconditional net_buf_unref on error paths with no behavioral side effects on the success path. If patching is not immediately feasible, a compensating control is to disable BLE on affected Bouffalo Lab hardware at the application configuration level (CONFIG_BT=n or equivalent Kconfig exclusion), which prevents the vulnerable code path from being compiled or reached; the trade-off is loss of all BLE functionality. The full advisory is at https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-ph42-6rqx-728c.

Affected VersionsENISA

Zephyr 4.4.0 <4.4.2

Affected Packages

euvd zephyr fix: 4.4.2

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 drivers/bluetooth/hci/hci_bflb.c, the Zephyr RTOS host-to-controller transport driver for Bouffalo Lab's BL60x, BL70x, and BL61x families of RISC-V-based SoCs with integrated BLE radios. Zephyr's net_buf subsystem implements reference-counted packet buffers; the bt_hci_driver_api.send() contract (documented in include/zephyr/drivers/bluetooth.h) mandates that the callee may only consume the buffer reference on success - on error, the caller (send_buf() in subsys/bluetooth/host/conn.c) retains ownership and unrefs it. The driver violated this by routing all error returns through a shared 'done' label that called net_buf_unref(buf) unconditionally, consuming the reference even on failure. The subsequent caller-side unref is the second free captured by CWE-415 (Double Free). Because the buffer is a TX fragment whose destroy callback decrements its still-queued parent buffer's reference count, the parent buffer is freed prematurely while still reachable on the connection TX queue, escalating the double-free into a use-after-free and pool-level heap corruption. The fix (commit 76d92d502b) replaces all error 'goto done' paths with direct 'return' statements, bypassing the unconditional unref.

Know when the next one hits your stack

  • 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

Vendor (zephyrproject) PRIMARY 5.9 MEDIUM
AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
vuln.today AI 5.9 MEDIUM

Adjacent vector (Bluetooth range); high complexity because TX failure is only indirectly inducible; no auth required but no direct packet-level trigger; availability high, integrity low, confidentiality none.

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
4.0 AV:A/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (zephyrproject).

CVSS VectorVendor: zephyrproject

Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

Lifecycle Timeline

1
Patch available
Aug 11, 2026 - 06:01 EUVD

DescriptionCVE.org

The Bluetooth HCI driver for Bouffalo Lab on-chip BLE controllers (BL60x/BL70x/BL61x), bt_bflb_send() in drivers/bluetooth/hci/hci_bflb.c, violates the bt_hci_driver_api.send() buffer-ownership contract. That contract (documented at include/zephyr/drivers/bluetooth.h) requires the buffer reference to be consumed only on success; on error the caller still owns the reference and unrefs it. The driver instead routed all error paths through a shared label that unconditionally called net_buf_unref(buf) before returning the error code, consuming the buffer on failure as well.

When send() returns an error, the host TX path (send_buf() in subsys/bluetooth/host/conn.c) unrefs the same buffer again, believing it still owns it. This double-unref over-decrements the net_buf reference count. Because the buffer is a TX fragment whose destroy callback also decrements its still-queued parent buffer, the parent is freed prematurely while reachable on the connection TX queue, producing a use-after-free and corruption of the shared net_buf pool rather than a benign leak.

The error conditions are on the host-to-controller transmit path (controller send failure, or an unsupported H:4 packet type), so they are not driven directly by attacker-supplied radio bytes; a remote/adjacent peer can influence them only indirectly, e.g. by inducing controller TX failures under heavy link load. The consequence when reached is BLE-stack denial of service (crash / pool corruption) with possible further memory corruption, bounded to devices using one of these Bouffalo Lab on-chip controllers.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche IoT RISC-V SoC, limited Zephyr RTOS embedded deployment
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy