Mbed TLS
cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*, +1 more
- 1.0.0
- >= 3.5.0, <= 3.6.5
A buffer overflow vulnerability has been identified in Mbed TLS versions prior to 3.6.6 and in TF-PSA-Crypto 1.0.0. The issue arises during the export of public keys for Finite Field Diffie-Hellman (FFDH) keys, where the `psa_export_public_key()` function fails to properly validate the size of the output buffer. This oversight allows an attacker to overflow the buffer by supplying a smaller-than-necessary output buffer, potentially leading to memory corruption and arbitrary code execution.
Exploitation of this vulnerability causes memory corruption, which may allow for arbitrary code execution.
Users should upgrade to Mbed TLS 3.6.6 or TF-PSA-Crypto 1.1.0. For those maintaining a branch with backported bug fixes, relevant commits are available.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.