Buffer overflow in mbed TLS - CVE-2026-34875
Published: April 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to improper input validation in the psa_export_public_key() function when processing FFDH public key export requests. A remote attacker can send a specially crafted request with a small output buffer to cause memory corruption and potentially execute arbitrary code.
Applications exporting public keys for algorithms other than FFDH are not affected.
Affected software
TF-PSA-Crypto
Fedora
mbedtls
How to mitigate CVE-2026-34875
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