Use-after-free in mbed TLS - CVE-2026-50579
Published: November 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause memory corruption and potentially a denial of service in applications that accept attacker-controlled PKCS7 data and reuse a freed PKCS7 context without reinitializing it.
The vulnerability exists due to a use-after-free in mbedtls_pkcs7_free() when cleaning up a reused PKCS7 context that still holds pointers to freed signer-list entries. A remote attacker can supply PKCS7 data to an affected application to cause memory corruption and potentially a denial of service.
Affected software
Fedora
mbedtls
How to mitigate CVE-2026-50579
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