Double Free Affecting mbedtls package, versions <2.8.0-1ubuntu0.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.53% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-MBEDTLS-2326258
  • published21 Mar 2026
  • disclosed20 Dec 2021

Introduced: 20 Dec 2021

CVE-2021-44732  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 mbedtls to version 2.8.0-1ubuntu0.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mbedtls package and not the mbedtls package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

Mbed TLS before 3.0.1 has a double free in certain out-of-memory conditions, as demonstrated by an mbedtls_ssl_set_session() failure.

CVSS Base Scores

version 3.1