{"id":"CVE-2024-45746","aliases":["CVE-2024-45746"],"related":[],"kind":"vulnerability","state":"published","title":"An issue was discovered in Trusted Firmware-M through 2.1.0.","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en Trusted Firmware-M hasta 2.1.0. Los mensajes de buzón proporcionados (y controlados) por el usuario contienen un puntero a una lista de argumentos de entrada (in_vec) y argumentos de salida (out_vec). Estos punteros de lista nunca se validan. Cada lista de argumentos contiene un puntero de búfer y un campo de longitud de búfer. Después de una llamada PSA, la longitud de los argumentos de salida detrás del puntero sin marcar se actualiza en mailbox_direct_reply, independientemente del resultado de la llamada. Esto permite que un atacante escriba en cualquier parte del firmware seguro, lo que se puede utilizar para tomar el control del flujo de control, lo que conduce a la ejecución remota de código (RCE).","source":"nvd"}],"published":"2024-10-09T00:00:00.000Z","modified":"2026-06-17T07:54:44.430Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1.6.0","lastAffected":"2.1.0","status":"affected"}],"vendor":"trustedfirmware","product":"trusted_firmware-m","cpe":"cpe:2.3:a:trustedfirmware:trusted_firmware-m:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://www.trustedfirmware.org/projects/tf-m/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://trustedfirmware-m.readthedocs.io/en/latest/security/security_advisories/user_pointers_mailbox_vectors_vulnerability.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-10-10T17:09:43.676Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45746","url":"https://www.cve.org/CVERecord?id=CVE-2024-45746","licence":"CVE Terms of Use","modified":"2024-10-10T17:13:21.838Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45746","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45746","licence":"Public domain","modified":"2026-06-17T07:54:44.430Z"}],"updatedAt":"2026-11-25T22:58:46.409Z","epss":{"score":0.0081,"percentile":0.58082,"date":"2026-12-01T12:00:22.000Z"}}