Distro News

Ubuntu releases security updates for Mbed TLS addressing multiple vulnerabilities

Key Takeaway

Multiple security flaws in the Mbed TLS library, ranging from side-channel attacks to buffer overflows, have been patched across Ubuntu 22.04, 24.04, and 26.04 LTS.

Summary

Ubuntu has issued a security notice (USN-9281-1) to address a significant number of vulnerabilities discovered in the Mbed TLS lightweight cryptography and SSL/TLS library. These flaws affect several long-term support (LTS) versions of the operating system, including Ubuntu 22.04, 24.04, and 26.04.

The vulnerabilities include critical issues such as heap buffer overflows, side-channel attacks on RSA private keys, and flaws in random number generation. Depending on the specific CVE, these issues could allow remote attackers to cause denial-of-service crashes, execute arbitrary code, or recover sensitive cryptographic material.

Vulnerability breakdown by Ubuntu release

  • Ubuntu 22.04 LTS specific flaws: Includes CVE-2022-35409 (DTLS ClientHello heap buffer over-read), CVE-2022-46392 (RSA side-channel attacks), CVE-2022-46393 (DTLS connection ID buffer overflow), CVE-2023-43615 (memory management buffer overflow), and CVE-2024-23170 (RSA timing side-channel).
  • Ubuntu 24.04 LTS and 22.04 LTS flaws: Addresses CVE-2024-45157, where the library failed to consistently use the PSA subsystem's selected random number generator as documented.
  • Ubuntu 26.04 LTS specific flaws: Covers a wide range of issues including CVE-2026-25832 (TLS 1.3 key exchange bypass), CVE-2026-25834 (TLS 1.2 algorithm downgrade), CVE-2026-25835 (PSA RNG failure to reseed after process fork), and CVE-2026-34872 (improper Diffie-Hellman public key validation).
  • Memory and Protocol safety: Fixes for NULL pointer dereferences during distinguished name parsing (CVE-2026-34874), buffer overflows in ECDH shared secret computation (CVE-2026-35336), and out-of-bounds reads in the multipart CCM API (CVE-2026-34876).

Why it matters

Because Mbed TLS is a lightweight library often used in embedded systems and IoT-adjacent software, these patches are critical for maintaining the integrity of encrypted communications. System administrators and developers using Ubuntu LTS must update the mbedtls package to prevent potential remote code execution or private key theft.

What to do

  • Users of Ubuntu 22.04 LTS, 24.04 LTS, and 26.04 LTS should update the mbedtls package to address these vulnerabilities.

Original reference: ubuntu.com →