MCUmgr SMP client accepts responses from any transport, allowing spoofed command results
- CVE-2026-102962
- EUVD-2026-137453
Description
Show the whole descriptionHide the whole 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.
Text from the CVE.org record.
Recommendation
zephyrproject zephyr
- If you run a version from 4.4.0 to before 4.5.0update to 4.5.0 or laterMinor version change: check the release notes
- If you run a version from 3.5.0 to before 4.3.2update to 4.3.2 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
zephyrproject zephyr
Affected versions Fixed in from 4.4.0 to before 4.5.0 4.5.0 from 3.5.0 to before 4.3.2 4.3.2
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.