Out-of-bounds write in mbed TLS - CVE-2026-50580

 

Out-of-bounds write in mbed TLS - CVE-2026-50580

Published: November 24, 2026


Vulnerability identifier: #VU169894
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-50580
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

mbed TLS
Fedora
mbedtls

How to mitigate CVE-2026-50580

Install security update from vendor's website.

mbed TLS - addressed in versions 3.6.7, 4.1.1, 4.2.0
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

External References

Related Security Bulletins