CVE-2024-45746trustedfirmware trusted_firmware-m
Critical 9.8 No auth needed
Follow: this CVE · trustedfirmware · trustedfirmware trusted_firmware-m We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Oct 9, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-120
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
An issue was discovered in Trusted Firmware-M through 2.1.0. User provided (and controlled) mailbox messages contain a pointer to a list of input arguments (in_vec) and output arguments (out_vec). These list pointers are never validated. Each argument list contains a buffer pointer and a buffer length field. After a PSA call, the length of the output arguments behind the unchecked pointer is updated in mailbox_direct_reply, regardless of the call result. This allows an attacker to write anywhere in the secure firmware, which can be used to take over the control flow, leading to remote code execution (RCE).
What to do
- Apply the vendor's security update for trusted_firmware-m.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- trustedfirmware · trusted_firmware-m
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.