CVE Vulnerabilities

CVE-2021-44732

Double Free

Published: Dec 20, 2021 | Modified: Nov 03, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
Mbed_tlsArm*2.16.12 (excluding)
Mbed_tlsArm2.17.0 (including)2.28.0 (excluding)
Mbed_tlsArm3.0.0 (including)3.0.0 (including)
Mbed_tlsArm3.0.0-preview1 (including)3.0.0-preview1 (including)
MbedtlsUbuntubionic*
MbedtlsUbuntuesm-apps/bionic*
MbedtlsUbuntuesm-apps/focal*
MbedtlsUbuntuesm-apps/jammy*
MbedtlsUbuntuesm-apps/noble*
MbedtlsUbuntuesm-apps/xenial*
MbedtlsUbuntufocal*
MbedtlsUbuntuhirsute*
MbedtlsUbuntuimpish*
MbedtlsUbuntujammy*
MbedtlsUbuntukinetic*
MbedtlsUbuntulunar*
MbedtlsUbuntumantic*
MbedtlsUbuntunoble*
MbedtlsUbuntuoracular*
MbedtlsUbuntutrusty*
MbedtlsUbuntuupstream*
MbedtlsUbuntuxenial*

Potential Mitigations

References