Skip to main content
VulnerabilityPublished Updated

CVE-2024-45746: Trusted Firmware-M · Classic Buffer Overflow

Source CVE Database V5

0

Not known to be exploited · CVSS 9.8 Critical.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Affects
Trusted Firmware-M through 2.1.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Oct 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

To mitigate CVE-2024-45746, organizations should: 1) Monitor Trusted Firmware-M vendor channels for official patches or firmware updates addressing this vulnerability and apply them promptly. 2) Implement strict input validation and bounds checking on mailbox message pointers within the firmware to prevent malicious pointer dereferencing. 3) Employ hardware security features such as Memory Protection Units (MPUs) to restrict writable memory regions and prevent arbitrary memory writes. 4) Use secure boot and firmware integrity verification mechanisms to detect unauthorized firmware modifications. 5) Limit exposure of the communication interfaces that handle mailbox messages to trusted entities only, employing network segmentation and access controls. 6) Conduct thorough security testing and code audits focusing on pointer validation and memory safety in secure firmware components. 7) For devices in critical environments, consider additional runtime protections such as Control Flow Integrity (CFI) and anomaly detection to identify exploitation attempts. These measures collectively reduce the risk of exploitation and limit potential damage.

Description

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).

References

Community reviews

Loading reviews…