Out-of-bounds read in mbed TLS - CVE-2026-50581
Published: November 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to potentially impersonate a peer in a higher-level protocol such as EAP-TLS or cause an affected application to abort if its environment detects the out-of-bounds read.
The vulnerability exists due to an unchecked return value in ssl_compute_master() in ssl_tls.c when the handshake transcript hash calculation fails during extended master secret derivation. The handshake proceeds with invalid input to the key derivation function, which can result in a stack buffer overread. A remote attacker can take advantage of a transcript hash failure on both vulnerable peers to undermine the master-secret uniqueness that higher-level protocols rely on for authentication.
TLS 1.3 is not affected.
Affected software
Fedora
mbedtls
How to mitigate CVE-2026-50581
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