Out-of-bounds write in mbed TLS - CVE-2026-50580
Published: November 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to crash the TLS client process and cause a denial of service.
The vulnerability exists due to an out-of-bounds write in ssl_write_client_key_exchange() when constructing a TLS 1.2 ECDHE-PSK ClientKeyExchange message without checking that the output buffer has enough space for the client's ephemeral public key. A remote attacker can negotiate an ECDHE-PSK cipher suite with an affected client configured with an oversized static PSK identity to trigger the out-of-bounds write and crash the client process.
The issue is particularly exposed when CBC cipher suites are disabled.
Affected software
Fedora
mbedtls
How to mitigate CVE-2026-50580
mbedtls - addressed in versions 3.6.7-1.el10_2, 3.6.7-1.el10_3, 3.6.7-1.fc43, 3.6.7-1.fc44