Skip to content

Bluetooth: Out- Of-Context le_conn_rsp handling

Moderate
ceolin published GHSA-xqj6-vh76-2vv8 Sep 19, 2025

Package

zephyr (zephyr)

Affected versions

<= 4.1

Patched versions

None

Description

The function le_conn_rsp, responsible for handling BLE connection responses, fails to verify whether a connection response is actually expected—i.e., whether the device initiated a connection request. Instead, it only checks if the identifier matches

  1. le_conn_rsp is the function handling responses that are sent in response to connection requests.
  2. The parsing and handling in the function should not happen if a connection response is not expected (The device did not initiate any connection request)
  3. The function only validates that an identifier is matching, leading to crazy state confusion when coupled with Vulnerability GHSA-hcc8-3qr7-c9m8
/* Keep the channel in case of security errors */
if (result == BT_L2CAP_LE_SUCCESS ||
    result == BT_L2CAP_LE_ERR_AUTHENTICATION ||
    result == BT_L2CAP_LE_ERR_ENCRYPTION) {
    chan = l2cap_lookup_ident(conn, ident);
} else {
    chan = l2cap_remove_ident(conn, ident);
}
  • Corpus Example
image

Impact

Protocol state confusion, potentially resulting in security issues, memory corruption, or denial of service.

Patches

For more information

If you have any questions or comments about this advisory:

embargo: 2025-09-05

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Adjacent
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CVE ID

CVE-2025-10457

Weaknesses

Improperly Implemented Security Check for Standard

The product does not implement or incorrectly implements one or more security-relevant checks as specified by the design of a standardized algorithm, protocol, or technique. Learn more on MITRE.