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>
OpenWrt Project is a Linux operating system targeting embedded devices. Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application. For developers, OpenWrt is the framework to build an application without having to build a complete firmware around it; for users this means the ability for full customization, to use the device in ways never envisioned.
Sunshine!
Download
Built firmware images are available for many architectures and come with a package selection to be used as WiFi home router. To quickly find a factory image usable to migrate from a vendor stock firmware to OpenWrt, try the Firmware Selector.
If your device is supported, please follow the Info link to see install instructions or consult the support resources listed below.
An advanced user may require additional or specific package. (Toolchain, SDK, ...) For everything else than simple firmware download, try the wiki download page:
Development
To build your own firmware you need a GNU/Linux, BSD or macOS system (case sensitive filesystem required). Cygwin is unsupported because of the lack of a case sensitive file system.
Requirements
You need the following tools to compile OpenWrt, the package names vary between distributions. A complete list with distribution specific packages is found in the Build System Setup documentation.
binutils bzip2 diff find flex gawk gcc-6+ getopt grep install libc-dev libz-dev
make4.1+ perl python3.8+ rsync subversion unzip which
Quickstart
-
Run
./scripts/feeds update -ato obtain all the latest package definitions defined in feeds.conf / feeds.conf.default -
Run
./scripts/feeds install -ato install symlinks for all obtained packages into package/feeds/ -
Run
make menuconfigto select your preferred configuration for the toolchain, target system & firmware packages. -
Run
maketo build your firmware. This will download all sources, build the cross-compile toolchain and then cross-compile the GNU/Linux kernel & all chosen applications for your target system.
Related Repositories
The main repository uses multiple sub-repositories to manage packages of
different categories. All packages are installed via the OpenWrt package
manager called opkg. If you're looking to develop the web interface or port
packages to OpenWrt, please find the fitting repository below.
-
LuCI Web Interface: Modern and modular interface to control the device via a web browser.
-
OpenWrt Packages: Community repository of ported packages.
-
OpenWrt Routing: Packages specifically focused on (mesh) routing.
-
OpenWrt Video: Packages specifically focused on display servers and clients (Xorg and Wayland).
Support Information
For a list of supported devices see the OpenWrt Hardware Database
Documentation
Support Community
- Forum: For usage, projects, discussions and hardware advise.
- Support Chat: Channel
#openwrton oftc.net.
Developer Community
- Bug Reports: Report bugs in OpenWrt
- Dev Mailing List: Send patches
- Dev Chat: Channel
#openwrt-develon oftc.net.
License
OpenWrt is licensed under GPL-2.0
