mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-27 14:41:12 +04:00
In addition drop compatibility patch for GCC 14. The issue the patch solved was fixed upstream in mbed TLS 3.6.6, by commit https://github.com/Mbed-TLS/mbedtls/commit/292b96c0a69016a6d99ce324837a9e96d59e21f6. This release of Mbed TLS provides bug fixes and minor enhancements. This release includes fixes for security issues. Security fixes: * Fix resource leaks in TLS 1.3 transform setup when a setup step fails after allocating cipher contexts or importing the encryption traffic key. (CVE-2026-93843) * Fix a memory leak when a TLS 1.3 server receives a valid session ticket but has no compatible PSK key exchange mode enabled. (CVE-2026-115491) * Fixed a security issue in TLS 1.2 session resumption by rejecting session tickets issued for a different TLS version. (CVE-2026-93831) * Fix TLS 1.3 server handling of the second ClientHello after a HelloRetryRequest. (CVE-2026-116375) * Fix a TLS client vulnerability caused by accepting the TLS 1.3 version (0x0304) in the legacy_version field of a TLS 1.2 ServerHello. (CVE-2026-115490) * Fix incorrect bounds check while parsing ECDHE-RSA/ECDHE-ECDSA ClientKeyExchange in TLS 1.2 servers. * Document that CRL name matching does not fully normalize names. (CVE-2026-116462) * Fix a remotely exploitable buffer overflow in TLS in some configurations where ECJPAKE is enabled. (CVE-2026-90469) * Fix an out-of-bounds read when parsing truncated TLS 1.2 ECJPAKE peer messages. * When parsing a CRL, if the chain is not empty and the allocation of a new element fails, do not clear an existing element. (CVE-2026-90475) * Fix a client-authentication bypass in TLS servers that use SNI to support several virtual hosts with different client-authentication policies and use session resumption. (CVE-2026-93776) * Fix a side channel in the p256-m implementation of ECDH/ECDSA on NIST P-256. (CVE-2026-93845) * Build symbol MBEDTLS_PK_DECRYPT_MAX_ITERATIONS has been added to limit the maximum number of iterations for the PBKDF2 algorithm used when decrypting a PKCS#8 encrypted private key in PK module. (CVE-2026-50582) * Fix a Spectre v1 side channel in AES and GCM acceleration. (CVE-2026-115493) * Fix a Spectre v1 side channel in non-authenticated ciphers that can leak many key bits to powerful local attackers. (CVE-2026-93833) * Fix possible Spectre v1 side channels in mbedtls_cipher_setkey(), mbedtls_cipher_crypt(), mbedtls_cipher_auth_encrypt_ext() and mbedtls_cipher_auth_decrypt_ext() when MBEDTLS_USE_PSA_CRYPTO is enabled. (CVE-2026-93833) * Fix possible Spectre v1 side channels in mbedtls_cipher_auth_encrypt_ext() and mbedtls_cipher_auth_decrypt_ext() when MBEDTLS_NIST_KW_C is enabled. (CVE-2026-93833) * Fix a Spectre v1 side channel in ECDSA signature that may leak the secret key to powerful local attackers. (CVE-2026-93835) * Fix a Spectre v1 side channel in ECC operations that can leak part of a private key to powerful local attackers. (CVE-2026-93842) * Fix a use-after-free in TLS 1.2 clients when renegotiation starts while unread application data remains buffered, with variable buffer lengths enabled and a maximum fragment length negotiated. (CVE-2026-93844) * Reject handshakes with signature algorithms disabled via mbedtls_ssl_conf_sig_algs() in the TLS 1.2 server. (CVE-2026-93777) * Fix a potential information disclosure during TLS 1.2 renegotiation when MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH is enabled. If outgoing data is pending while the output buffer is resized, a peer could receive memory outside the output buffer. (CVE-2026-115488) * When verifying a certificate chain and passing a URI as the cn argument to the verify function, the URI was incorrectly matched against DNS wildcards if found in the certificate. (CVE-2026-90470) * In mbedtls_x509_dn_gets(), output a null terminator even when the output string is empty. (CVE-2026-115489) * Document the use of PEM decryption as deprecated, due its inherent security risks. Full release announcement: https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.6.8 Signed-off-by: Magnus Kroken <mkroken@gmail.com> Link: https://github.com/openwrt/openwrt/pull/26780 Signed-off-by: Robert Marko <robimarko@gmail.com>