CVE-2024-45158: Trustedfirmware Mbed TLS
Critical severity, CVSS 9.8. EPSS: 0.7% chance of exploitation in the next 30 days.
An issue was discovered in Mbed TLS 3.6 before 3.6.1. A stack buffer overflow in mbedtls_ecdsa_der_to_raw() and mbedtls_ecdsa_raw_to_der() can occur when the bits parameter is larger than the largest supported curve. In some configurations with PSA disabled, all values of bits are affected. (This never happens in internal library calls, but can affect applications that call these functions directly.)
Affected products
- Trustedfirmware Mbed TLS: version 3.6.0 only
Published 2024-09-05. Last modified 2026-06-17.