Improper input validation in mbed TLS - CVE-2026-34872
Published: April 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to force the FFDH shared secret into a small set of values.
The vulnerability exists due to improper input validation in the FFDH key agreement component when processing a peer's public key during key agreement using PSA_ALG_FFDH. A remote attacker can send a specially crafted public key to force the FFDH shared secret into a small set of values.
Applications are only affected if they use the PSA API to perform FFDH as part of a larger protocol that expects contributory behaviour from FFDH. TLS 1.2 and TLS 1.3 are not affected due to protocol-level protections.
Affected software
TF-PSA-Crypto
Fedora
mbedtls
How to mitigate CVE-2026-34872
TF-PSA-Crypto - update to 1.1.0
mbedtls - addressed in versions 3.6.6-1.el10_1, 3.6.6-1.el10_2, 3.6.6-1.el10_3