CVE-2026-102962 PUBLISHED

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

Assigner: zephyr
Reserved: 29.09.2026 Published: 27.11.2026 Updated: 27.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
CVSS Score: 4.2

Product Status

Vendor zephyrproject
Product zephyr
Versions Default: unaffected
  • affected from 3.5.0 to 4.3.2 (excl.)
  • affected from 4.4.0 to 4.5.0 (excl.)

References

Problem Types

  • auth CWE