Incomplete cleanup in mbed TLS - CVE-2026-50585

 

Incomplete cleanup in mbed TLS - CVE-2026-50585

Published: November 24, 2026


Vulnerability identifier: #VU169895
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-50585
CWE-ID: CWE-459
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

mbed TLS
Fedora
mbedtls

How to mitigate CVE-2026-50585

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