Incomplete cleanup in mbed TLS - CVE-2026-50585
Published: November 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause subsequent DTLS connections to fail prematurely.
The vulnerability exists due to incomplete cleanup of the badmac_seen counter in mbedtls_ssl_session_reset() when an application with a nonzero DTLS bad-MAC limit resets an SSL context for reuse. A remote attacker can cause an earlier connection to exhaust the context's bad-MAC allowance, leaving subsequent connections on that context unable to tolerate records that fail MAC validation.
Affected software
Fedora
mbedtls
How to mitigate CVE-2026-50585
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