# This week in embedded: a flaw in the encryption many devices use

- Author: Michael Mikus (https://mikus.io/about/)
- Published: 2026-11-22
- Type: Note
- Web page: https://mikus.io/signals/2026-11-22-this-week-in-embedded/

A flaw in Mbed TLS, the encryption library many devices use, leads the week. Also: cheaper flash ahead, a Zephyr network bug, a feature dropped on three Espressif chips and one licence for LLVM.

- **A flaw in the encryption library many devices use.** A malicious server can push a device into a connection whose keys anyone can work out, so anyone recording it can read the traffic. If a device uses pre-shared keys and has certificate checks turned off, an attacker in the middle can also pose as its server. Default builds are affected; fixes are out. [Advisory](https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-11-tls-version-confusion/)
- **Flash memory may get cheaper next year.** TrendForce expects NAND prices to start falling in early 2027, as supply outgrows demand. Worth knowing if your products carry eMMC or other flash. [TrendForce](https://www.trendforce.com/presscenter/news/20261119-13314.html)
- **Crafted packets can cut a Zephyr device off the network.** Each crafted TCP packet to an open port leaks a little memory, until the device stops receiving and needs a reboot. It is one of 14 Zephyr fixes this week. [Advisory](https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-5g8m-jj22-82f5)
- **Espressif dropped a security feature on three chips.** ESP-IDF dropped support for the Key Manager, hardware that lets the chip use keys software never sees, on the ESP32-C5, ESP32-P4 and ESP32-S31. Espressif says the hardware needs design changes. [Release notes](https://github.com/espressif/esp-idf/releases/tag/v6.1.1)
- **LLVM now has one licence.** The compiler project behind Clang has moved nearly all its code to one licence, which simplifies licence reviews and software bills of materials. [LLVM](https://discourse.llvm.org/t/wrapping-up-llvms-relicensing-effort/92906)

**For engineers:**

- Mbed TLS: CVE-2026-115490 (high) affects 3.2.0 to 3.6.7, 4.0.0 to 4.1.1 and 4.2.0. Impersonation needs a PSK, EC J-PAKE or TLS 1.2 resumption handshake plus weakened certificate verification (for example none or optional). 4.1.2 and 4.3.0 fix all 22 advisories; 3.6.8 fixes the 21 that affect 3.6. Support for 3.6 ends on 28 March 2027.
- NAND: TrendForce forecasts 25 to 30% more bit supply and 26.7% higher industry capex in 2027.
- Zephyr: 14 advisories, two high: TCP header linearisation (since 2.3.0, can also corrupt memory) and the SMSC911x Ethernet driver. Update to 4.3.2 or 4.5.0; two Bluetooth Classic SDP fixes are only in 4.5.0. [All advisories](https://github.com/zephyrproject-rtos/zephyr/security/advisories)
- LLVM: over 99.5% of code ever contributed is now under Apache 2.0 with the LLVM exception, removed, or too small to count.
