p PatchFirst

USN-8123-1

USN-8123-1 · Ubuntu security update: mbedtls

Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • mbedtls Ubuntu Pro 18.04 LTSUpdate to 2.8.0-1ubuntu0.1~esm1
  • mbedtls Ubuntu Pro 20.04 LTSUpdate to 2.16.4-1ubuntu2+esm1
  • mbedtls Ubuntu Pro 22.04 LTSUpdate to 2.28.0-1ubuntu0.1~esm1
  • mbedtls Ubuntu Pro 24.04 LTSUpdate to 2.28.8-1ubuntu0.1~esm1

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="mbedtls"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from the distribution’s bulletin. Check the original advisory before installing the update.

It was discovered that Mbed TLS incorrectly handled memory allocation failures. A remote attacker could possibly use this issue to crash the program. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-44732)

Jonathan Winzig discovered that Mbed TLS incorrectly handled crafted inputs. A remote attacker could possibly use this issue to crash the program, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS. (CVE-2024-23775)

It was discovered that Mbed TLS incorrectly handled the TLS handshake. A remote attacker could possibly use this issue to break the security guarantees of the TLS handshake. (CVE-2025-27810)

Linh Le and Ngan Nguyen discovered that Mbed TLS incorrectly documented the behavior of a function. Application code relying on the documented behavior might be affected. A remote attacker could possibly use this issue to execute arbitrary code. (CVE-2025-47917)

Linh Le and Ngan Nguyen discovered that Mbed TLS incorrectly handled crafted input. A remote attacker could possibly use this issue to crash the program, resulting in a denial of service. (CVE-2025-48965)

It was discovered that Mbed TLS incorrectly handled a race condition. An attacker could possibly use this issue to extract AES keys. (CVE-2025-52496)

Linh Le and Ngan Nguyen discovered that Mbed TLS incorrectly handled certain invalid input. A remote attacker could possibly use this issue to crash the program, resulting in a denial of service. (CVE-2025-52497)

Published
Updated

Vulnerabilities closed

Stack: system

Updated packages and versions

  • mbedtls Ubuntu Pro 18.04 LTS

    Versions
    • 2.5.1-1ubuntu1
    • 2.6.0-1
    • 2.7.0-2
    • 2.8.0-1
    Affected ranges
    • ECOSYSTEM: < 2.8.0-1ubuntu0.1~esm1

    Update to 2.8.0-1ubuntu0.1~esm1

  • mbedtls Ubuntu Pro 20.04 LTS

    Versions
    • 2.16.2-1
    • 2.16.3-1
    • 2.16.4-1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 2.16.4-1ubuntu2+esm1

    Update to 2.16.4-1ubuntu2+esm1

  • mbedtls Ubuntu Pro 22.04 LTS

    Versions
    • 2.16.9-0.1ubuntu1
    • 2.16.11-0.1ubuntu1
    • 2.16.11-0.3
    • 2.28.0-1
    • 2.28.0-1build1
    Affected ranges
    • ECOSYSTEM: < 2.28.0-1ubuntu0.1~esm1

    Update to 2.28.0-1ubuntu0.1~esm1

  • mbedtls Ubuntu Pro 24.04 LTS

    Versions
    • 2.28.3-1
    • 2.28.6-1ubuntu1
    • 2.28.7-1ubuntu1
    • 2.28.7-1.1ubuntu1
    • 2.28.8-1
    Affected ranges
    • ECOSYSTEM: < 2.28.8-1ubuntu0.1~esm1

    Update to 2.28.8-1ubuntu0.1~esm1

Original sources

Check your server →