Mbed TLS After April 2027: What the Future Holds for Embedded Developers
I looked into the Mbed TLS maintenance transition, the latest community updates, and what these changes mean for developers building connected devices.
01 // INTRODUCTION
If you've worked with an ESP32 using ESP-IDF, you've probably encountered Mbed TLS. ESP-IDF uses a fork of Mbed TLS containing ESP-IDF-specific patches, integrating it into the platform's secure networking stack. Across the broader embedded ecosystem, Mbed TLS has served as a widely adopted cryptographic and TLS stack for microcontrollers and real-time operating systems.
Connected embedded devices operate across a wide range of hardware constraints, from microcontrollers with only tens of kilobytes of RAM to more capable processors. Battery-powered designs may also target microamp-level sleep currents to achieve long operational lifetimes. Crucially, these devices often remain deployed in the field for a decade or more. For hardware with such extensive operational lifecycles, active security maintenance of the underlying TLS implementation is essential to address newly discovered vulnerabilities, adapt to certificate authority deprecations, and retire obsolete cryptographic suites.
02 // WHAT CHANGED WITH MBED TLS?
ARM acquired the Dutch security firm Offspark in 2015 and rebranded its PolarSSL technology as ARM mbed TLS, later transitioning project governance to TrustedFirmware.org. Over the subsequent decade, Mbed TLS became deeply embedded across the microcontroller ecosystem, integrated into Zephyr secure sockets and FreeRTOS reference TLS integrations.
On October 8, 2026, the existing maintainers announced that security incident response, security fixes, and official releases would cease from April 2027 if new maintainers had not joined and ramped up by then.
An important architectural distinction was highlighted in that announcement: cryptographic primitives were previously decoupled in Mbed TLS 4.0 into TF-PSA-Crypto, which serves as a reference implementation of the PSA Cryptography API specification. While TF-PSA-Crypto remains actively developed and maintained by the existing TrustedFirmware team, the TLS protocol and X.509 certificate handling components faced an impending cessation of security maintenance without new stewardship.
03 // THE NOVEMBER 19 UPDATE
On November 19, 2026, a subsequent update posted to the Mbed TLS mailing list outlined a concrete transition plan. Linaro has agreed to take on project maintenance and stewardship under TrustedFirmware.org governance, supported by engineering resources committed by Linaro alongside key semiconductor partners NXP Semiconductors and Espressif Systems. These silicon vendors represent substantial commercial microcontroller footprints, including i.MX RT, LPC, and the ubiquitous ESP32 families.
These commitments are expected to provide a minimum level of maintenance beyond April 2027, including security fixes, releases and LTS maintenance. Additional engineering resources and community contributions will still be needed for new feature development and reviewing contributions.
This arrangement is expected to support continued security maintenance for existing deployments beyond April 2027.
04 // WHAT SHOULD EMBEDDED DEVELOPERS CONSIDER?
With Linaro, NXP, and Espressif committing resources to support minimum maintenance, engineering teams maintaining active products should evaluate their roadmap with technical discipline:
- Upstream Maintenance Schedules: Teams using Mbed TLS 3.6 LTS or newer 4.x branches should review the updated upstream maintenance arrangements, monitor branch-specific support schedules, and verify that their chosen releases receive the security maintenance required by their product lifecycle.
- Hardware Acceleration Compatibility: Many microcontrollers offload cryptographic operations through hardware crypto engines using Mbed TLS _ALT macros or PSA driver interfaces (psa_crypto_driver). Teams should verify that their silicon vendor's board support packages and drivers remain synchronized with Linaro's upstream releases.
- Secure Firmware Update Infrastructure: For devices designed to receive field updates, a secure firmware update mechanism such as FOTA provides an important way to deliver security fixes and maintain trusted certificate bundles throughout their operational lifetime when root authorities or security policies evolve. However, it is worth clarifying that FOTA is an operational lifecycle mechanism, not a technical requirement of the TLS protocol itself.
- Objective Alternative Evaluation: If your project requires commercial support SLAs, formal certification paths (such as FIPS 140-3), or specific cryptographic algorithms not yet prioritized in upstream roadmaps, evaluating alternative embedded TLS stacks remains a sensible engineering exercise.
Technical Landscape Comparison
| Dimension | Mbed TLS (Linaro Stewardship) | wolfSSL | TF-PSA-Crypto |
|---|---|---|---|
| Governance | TrustedFirmware.org | wolfSSL Inc. (Commercial / Open Source) | TrustedFirmware.org |
| Primary Scope | TLS 1.2 / 1.3 & DTLS 1.2; X.509 for Microcontrollers | TLS 1.2 / 1.3 & DTLS 1.2 (DTLS 1.3 available depending on build configuration); FIPS 140-3 validation available for wolfCrypt module in validated configurations | Reference implementation of the PSA Cryptography API specification |
| Licensing | Apache-2.0 OR GPL-2.0-or-later | Dual: GPLv3 or Commercial License | Apache-2.0 OR GPL-2.0-or-later |
| Maintenance Post-April 2027 | Linaro-led stewardship; engineering resources committed by Linaro, NXP and Espressif. | Commercial vendor-backed development and maintenance | Maintained by existing TrustedFirmware team |
| Configuration Method | Configuration headers (e.g., mbedtls_config.h) | configure / CMake build options, optional user_settings.h | PSA Crypto configuration headers (e.g., psa/crypto_config.h) |
05 // WHERE DOES WOLFSSL FIT?
For engineering teams exploring alternative TLS librariesβwhether to satisfy commercial SLA guarantees, deploy on specialized platforms, or meet regulatory standardsβwolfSSL is a mature, widely used embedded alternative written in ANSI C. According to wolfSSL's published benchmarks, the library typically reports approximately 20β100 KB of compiled binary size and 1β36 KB of runtime memory per TLS session. However, actual memory footprint varies significantly based on build options, compiler optimizations, I/O buffer sizing, public-key algorithm, key size, number and size of loaded certificates, and session-cache configuration.
When evaluating wolfSSL alongside Mbed TLS, developers should account for key architectural differences:
- API and Session Context Architecture: Mbed TLS decouples connection configuration profiles (mbedtls_ssl_config) from active session states (mbedtls_ssl_context). wolfSSL follows an OpenSSL-like architecture using WOLFSSL_CTX for shared protocol configuration and WOLFSSL per connection. Transitioning between them does not necessarily mandate changes to handshake state machines; rather, required changes depend on the specific APIs being used and may involve session setup, transport callbacks (such as custom I/O functions), certificate verification, and error handling.
- Hardware Acceleration Approaches: Mbed TLS handles acceleration via compile-time _ALT macros or PSA driver interfaces (psa_crypto_driver). wolfSSL provides platform-specific hardware integration code in wolfcrypt/src/port/ for selected silicon vendors, alongside a runtime cryptographic callback interface (--enable-cryptocb) to dispatch cryptographic operations to hardware security modules, TPMs, or hardware accelerators. These provide adaptable integration mechanisms without acting as universal direct replacements for every custom vendor driver.
- Licensing Considerations: Mbed TLS and TF-PSA-Crypto offer Apache-2.0 and GPL-2.0-or-later licensing options. The Apache-2.0 option generally permits proprietary commercial integration subject to its license obligations. In contrast, wolfSSL follows a dual-licensing model: open source GPLv3 or commercial licensing. Businesses incorporating wolfSSL into proprietary appliances or commercial software products for redistribution generally need a commercial license under wolfSSL's published licensing terms.
- FIPS 140-3 Validation Scope: While frequently evaluated for high-assurance deployments, FIPS 140-3 validation applies specifically to designated wolfCrypt cryptographic module configurations and validated operational environments, rather than automatically certifying an entire end-to-end TLS application.
/* Mbed TLS Illustrative Initialization Flow (Not a complete client) */
mbedtls_ssl_config conf;
mbedtls_ssl_context ssl;
mbedtls_ssl_config_init(&conf);
mbedtls_ssl_init(&ssl);
mbedtls_ssl_config_defaults(&conf, MBEDTLS_SSL_IS_CLIENT, MBEDTLS_SSL_TRANSPORT_STREAM, MBEDTLS_SSL_PRESET_DEFAULT);
mbedtls_ssl_setup(&ssl, &conf);
/* wolfSSL Illustrative Initialization Flow (Not a complete client) */
WOLFSSL_CTX* ctx = wolfSSL_CTX_new(wolfTLS_client_method());
WOLFSSL* ssl = wolfSSL_new(ctx);
Note: The snippets above illustrate generic client initialization flows and do not constitute complete runnable TLS clients. The negotiated protocol range depends on the versions enabled in the wolfSSL build. Production applications should explicitly exclude deprecated protocols, configure an appropriate minimum TLS version, and implement proper entropy sources, transport callbacks, certificate verification, and error handling.
wolfSSL provides an official Mbed TLS Migration Guide documenting API mappings and compatibility layers. While it represents wolfSSL's own technical documentation and migration is not necessary for every project, it serves as a practical technical reference when evaluating architectural differences.
06 // CONCLUSION
The announcement on November 19, 2026 brings welcome clarity to embedded developers. Linaro's agreement to assume project stewardship, backed by engineering commitments from NXP Semiconductors and Espressif Systems, provides a viable roadmap for minimum maintenance beyond April 2027.
At the same time, this transition reinforces a fundamental engineering reality: connected firmware cannot be treated as write-once software. Whether maintaining upstream Mbed TLS branches under the Linaro-led maintenance arrangement within TrustedFirmware.org governance or evaluating commercial alternatives like wolfSSL, embedded engineering teams must actively monitor security advisories, test board support packages against updated cryptographic releases, and maintain disciplined update channels throughout their hardware lifecycles.
REFERENCES & FURTHER READING
- [01]
- [02]
- [03]
- [04]
- [05]
- [06]
- [07]
- [08]
- [09]
- [10]
- [11]
- [12]
- [13]
- [14]