CVE-2021-44732
published 2021-12-20CVE-2021-44732: 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.
PriorityP342critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
2.57%
83.2th percentile
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.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| arm | mbed_tls | < 2.16.12 | 2.16.12 |
| arm | mbed_tls | >= 2.17.0 < 2.28.0 | 2.28.0 |
| debian | debian_linux | — | — |
| debian | mbedtls | < mbedtls 2.28.0-0.3 (bookworm) | mbedtls 2.28.0-0.3 (bookworm) |
| mbed | mbedtls | >= 0 < 2.16.9-0.1+deb11u1 | 2.16.9-0.1+deb11u1 |
| mbed | mbedtls | >= 0 < 2.28.0-0.3 | 2.28.0-0.3 |
| mbed | mbedtls | >= 0 < 2.28.0-0.3 | 2.28.0-0.3 |
| mbed | mbedtls | >= 0 < 2.28.0-0.3 | 2.28.0-0.3 |
| mbed | mbedtls | >= 0 < 2.8.0-1ubuntu0.1~esm1 | 2.8.0-1ubuntu0.1~esm1 |
| mbed | mbedtls | >= 0 < 2.16.4-1ubuntu2+esm1 | 2.16.4-1ubuntu2+esm1 |
| mbed | mbedtls | >= 0 < 2.28.0-1ubuntu0.1~esm1 | 2.28.0-1ubuntu0.1~esm1 |
| mbed | mbedtls | >= 0 < 2.28.8-1ubuntu0.1~esm1 | 2.28.8-1ubuntu0.1~esm1 |
| msrc | azl3_qemu_8.2.0-16_on_azure_linux_3.0 | — | — |
| msrc | cbl2_qemu_6.2.0-24_on_cbl_mariner_2.0 | — | — |
| trustedfirmware | mbed_tls | — | — |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_msrc9.8CRITICAL
vendor_ubuntu9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
mbedtls vulnerabilities
osv·2026-03-25·CVSS 9.8
CVE-2021-44732 [CRITICAL] mbedtls vulnerabilities
mbedtls vulnerabilities
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 t
GHSA
GHSA-7g56-f7p4-fmcq: Mbed TLS before 3
ghsa_unreviewed·2021-12-21
CVE-2021-44732 [CRITICAL] CWE-415 GHSA-7g56-f7p4-fmcq: Mbed TLS before 3
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.
OSV
CVE-2021-44732: Mbed TLS before 3
osv·2021-12-20·CVSS 9.8
CVE-2021-44732 [CRITICAL] CVE-2021-44732: Mbed TLS before 3
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.
Ubuntu
Mbed TLS vulnerabilities
vendor_ubuntu·2026-03-25·CVSS 9.8
CVE-2025-27810 [CRITICAL] Mbed TLS vulnerabilities
Title: Mbed TLS vulnerabilities
Summary: Several security issues were fixed in mbedtls.
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
Microsoft
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.
vendor_msrc·2021-12-14·CVSS 9.8
CVE-2021-44732 [CRITICAL] CWE-415 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.
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Act
Debian
CVE-2021-44732: mbedtls - Mbed TLS before 3.0.1 has a double free in certain out-of-memory conditions, as ...
vendor_debian·2021·CVSS 9.8
CVE-2021-44732 [CRITICAL] CVE-2021-44732: mbedtls - Mbed TLS before 3.0.1 has a double free in certain out-of-memory conditions, as ...
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.
Scope: local
bookworm: resolved (fixed in 2.28.0-0.3)
bullseye: resolved (fixed in 2.16.9-0.1+deb11u1)
forky: resolved (fixed in 2.28.0-0.3)
sid: resolved (fixed in 2.28.0-0.3)
trixie: resolved (fixed in 2.28.0-0.3)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://bugs.gentoo.org/829660https://github.com/ARMmbed/mbedtls/releaseshttps://github.com/ARMmbed/mbedtls/releases/tag/v2.16.12https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.0https://github.com/ARMmbed/mbedtls/releases/tag/v3.1.0https://lists.debian.org/debian-lts-announce/2022/12/msg00036.htmlhttps://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-12https://bugs.gentoo.org/829660https://github.com/ARMmbed/mbedtls/releaseshttps://github.com/ARMmbed/mbedtls/releases/tag/v2.16.12https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.0https://github.com/ARMmbed/mbedtls/releases/tag/v3.1.0https://lists.debian.org/debian-lts-announce/2022/12/msg00036.htmlhttps://lists.debian.org/debian-lts-announce/2025/06/msg00034.htmlhttps://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-12
2021-12-20
Published