Buffer overflow in mbed TLS - CVE-2026-34875

 

Buffer overflow in mbed TLS - CVE-2026-34875

Published: April 2, 2026


Vulnerability identifier: #VU124804
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-34875
CWE-ID: CWE-120
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

mbed TLS
TF-PSA-Crypto
Fedora
mbedtls

How to mitigate CVE-2026-34875

Install security update from vendor's website.

mbed TLS - update to 3.6.6
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

External References

Related Security Bulletins