CVE-2026-102962

MCUmgr SMP client accepts responses from any transport, allowing spoofed command results

Published Nov 27, 2026 CVSS 3.1 · 4.2 Medium EPSS n/a KEV · Not listed
Description
The MCUmgr SMP client matched an incoming response to a pending command in smp_client_response_discover() (subsys/mgmt/mcumgr/smp_client/src/client.c) using only the 8-bit sequence number and the operation. It did not check the transport the response arrived on, or the group and command ID. smp_process_request_packet() hands every MGMT_OP_READ_RSP/MGMT_OP_WRITE_RSP packet received on any SMP transport to smp_client_single_response(), so a response from any SMP peer could complete any pending client command.

On a device that is both an SMP server (for example over Bluetooth LE or UDP) and an SMP client (CONFIG_SMP_CLIENT, for example using img_mgmt_client to update a companion MCU over UART), a peer on the server transport can send up to 256 forged response packets while a client operation is pending and have one of them accepted as the reply from the managed device. Non-matching responses are dropped silently. The response path bypasses the server command handlers, so restricting which server groups a peer may use does not prevent it.

The attacker can forge the results of client operations. For example, a forged image-upload offset makes img_mgmt_client_upload() report success after only part of the image was sent, a forged image-state response can report arbitrary versions or flags, and any pending command can be forced to fail. No memory corruption results: the response callbacks bound-check the decoded data. The target's own image validation limits the result to failed or suppressed updates and disrupted management operations. The fix restricts matching to commands sent on the same transport with the same group and command ID. Responses from a different peer on the same transport are still not distinguished.

Analysis

AI-generated

Technical impact

The MCUmgr SMP client matches incoming responses to pending commands only by the 8‑bit sequence number and operation code, without verifying the transport or group and command identifiers. This oversight constitutes an improper verification weakness (CWE‑940) that allows an adversary to craft a forged response packet that a device will accept as the result of a client operation. The impact is that a device can be deceived into reporting a successful image upload, dropping an update, or claiming an arbitrary firmware version, thereby undermining the integrity of management operations. The flaw does not trigger memory corruption; instead, it exploits the trust model of the management layer.

Affected Systems

The affected system is the Zephyr RTOS (zephyrproject:zephyr) when it operates as both an SMP server and an SMP client. Devices configured with CONFIG_SMP_CLIENT enabled and hosting the img_mgmt_client, or other SMP clients, are vulnerable if the same transport (e.g., Bluetooth LE, UDP) serves both roles. In such configurations, any peer on the server side can send up to 256 forged response packets while a client command is pending, and one will be accepted as the legitimate reply. Systems that separate client and server on distinct transports, or disable the server role on the client transport, are not affected.

Risk and Exploitability

Although the CVSS score is 4.2, the vulnerability can have significant consequences for the reliability of OTA updates. An attacker who can reach the device over the vulnerable transport can manipulate command results without local code execution. The exploit requires only network access to send forged packets; it does not depend on privileged execution or device compromise. Since the flaw is not mitigated by existing “remote” authentication, devices exposed to untrusted networks may be easily spoofed. The CISA KEV catalog does not list this vulnerability, and EPSS data is unavailable, but the practical impact on embedded firmware management warrants timely remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Zephyr patch that restricts response matching to the same transport, group, and command ID (commit 7b68698).
  • If an immediate patch is not available, reconfigure the device so that the SMP client and SMP server use separate transports (for example, disable SMP Server on Bluetooth LE when the client uses UART).
  • Enable transport‑level authentication or limit the SMP server to trusted peers so that only authenticated devices can send management responses.
  • Consider disabling the SMP server role entirely on transports that are also used by SMP clients if separate transports cannot be configured.

Generated by OpenCVE AI on November 27, 2026 at 16:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Zephyrproject
Zephyrproject zephyr
Vendors & Products Zephyrproject
Zephyrproject zephyr
Type Values Removed Values Added
Description The MCUmgr SMP client matched an incoming response to a pending command in smp_client_response_discover() (subsys/mgmt/mcumgr/smp_client/src/client.c) using only the 8-bit sequence number and the operation. It did not check the transport the response arrived on, or the group and command ID. smp_process_request_packet() hands every MGMT_OP_READ_RSP/MGMT_OP_WRITE_RSP packet received on any SMP transport to smp_client_single_response(), so a response from any SMP peer could complete any pending client command. On a device that is both an SMP server (for example over Bluetooth LE or UDP) and an SMP client (CONFIG_SMP_CLIENT, for example using img_mgmt_client to update a companion MCU over UART), a peer on the server transport can send up to 256 forged response packets while a client operation is pending and have one of them accepted as the reply from the managed device. Non-matching responses are dropped silently. The response path bypasses the server command handlers, so restricting which server groups a peer may use does not prevent it. The attacker can forge the results of client operations. For example, a forged image-upload offset makes img_mgmt_client_upload() report success after only part of the image was sent, a forged image-state response can report arbitrary versions or flags, and any pending command can be forced to fail. No memory corruption results: the response callbacks bound-check the decoded data. The target's own image validation limits the result to failed or suppressed updates and disrupted management operations. The fix restricts matching to commands sent on the same transport with the same group and command ID. Responses from a different peer on the same transport are still not distinguished.
Title MCUmgr SMP client accepts responses from any transport, allowing spoofed command results
Weaknesses CWE-940
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L'}

Weaknesses
  • CWE-940

    Improper Verification of Source of a Communication Channel

Sources

Status
PUBLISHED
Assigner
zephyr
Published
Updated
Nov 27, 2026, 3:42 PM
Reserved
Sep 29, 2026, 8:25 PM
Status
Awaiting Analysis
Published
Nov 27, 2026, 4:18 PM
Modified
Nov 27, 2026, 4:18 PM