CVE-2026-102962: MCUmgr SMP client accepts responses from any transport, allowing spoofed command results
The MCUmgr SMP client matched an incoming response to a pending command in smpclientresponsediscover() (subsys/mgmt/mcumgr/smpclient/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. smpprocessrequestpacket() hands every MGMTOPREADRSP/MGMTOPWRITERSP packet received on any SMP transport to smpclientsingleresponse(), 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 (CONFIGSMPCLIENT, for example using imgmgmtclient 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 imgmgmtclientupload() 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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
The described exposure requires a device to act as both an SMP server on one transport, such as Bluetooth LE or UDP, and an SMP client on another transport, such as UART. CONFIG_SMP_CLIENT-enabled uses, including img_mgmt_client updating a companion MCU, are examples of the affected client role.
What must an attacker be able to do to spoof a client operation result?
An attacker must be able to send SMP packets to a server transport while a client operation is pending. They can send up to 256 forged response packets to cover the 8-bit sequence-number space, with one potentially being accepted as the managed device's reply.
Do server-side restrictions on allowed MCUmgr groups prevent exploitation?
No. Forged responses bypass the server command handlers, so limiting the groups a server peer may use does not block this response-path attack.
What client operations can be affected?
Incoming MGMT_OP_READ_RSP and MGMT_OP_WRITE_RSP packets can be delivered to the client response path regardless of the transport on which they arrived. An attacker can therefore forge reported results of pending client operations, including image-management client activity.