CVE-2021-44732
Mbed TLS before 3.0.1 has a double free in certain out-of-memory conditions, as demonstrated by...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2021-44732- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-415
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-44732- Updated
- 2026-11-02
EUVDEUVD-2021-31547 No score
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.
- Record
EUVD-2021-31547- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-7g56-f7p4-fmcq
9.8
Mbed TLS before 3.0.1 has a double free in certain out-of-memory conditions, as demonstrated by...
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.
- Record
GHSA-7g56-f7p4-fmcq- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-415
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-44732
9.8
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.
- Record
ALPINE-CVE-2021-44732- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
9.8
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.
- Record
CVE-2021-44732- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2021-44732
9.8
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.
- Record
DEBIAN-CVE-2021-44732- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVJLSEC-2025-214
9.8
Mbed TLS before 3.0.1 has a double free in certain out-of-memory conditions, as demonstrated by an...
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.
- Record
JLSEC-2025-214- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-44732
9.8
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.
- Record
UBUNTU-CVE-2021-44732- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2022-0017 No score
Updated mbedtls packages fix security vulnerability
This update provides Mbed TLS 2.16.12, with a number of bug fixes and a security fix. Mbed TLS has a double free in certain out-of-memory conditions, as demonstrated by an mbedtls_ssl_set_session() failure. (CVE-2021-44732)
- Record
MGASA-2022-0017- Updated
- 2026-11-02
OSVUSN-8123-1 No score
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 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)
- Record
USN-8123-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mbedtlsAlpine:v3.12 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtlsAlpine:v3.13 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtlsAlpine:v3.14 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtlsAlpine:v3.15 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtlsAlpine:v3.16 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtlsAlpine:v3.17 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtlsAlpine:v3.18 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtlsAlpine:v3.19 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtlsAlpine:v3.20 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtlsAlpine:v3.21 |
before 2.16.12-r0 | 2.16.12-r0 |
Show 21 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mbedtlsAlpine:v3.22 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtlsAlpine:v3.23 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtlsAlpine:v3.24 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtls2Alpine:v3.20 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtls2Alpine:v3.21 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtls2Alpine:v3.22 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtls2Alpine:v3.23 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtls2Alpine:v3.24 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtls3Alpine:v3.24 |
before 2.16.12-r0 | 2.16.12-r0 |
mbedtlsDebian:12 |
before 2.28.0-0.3 | 2.28.0-0.3 |
mbedtlsDebian:13 |
before 2.28.0-0.3 | 2.28.0-0.3 |
mbedtlsDebian:14 |
before 2.28.0-0.3 | 2.28.0-0.3 |
mbedtlsDebian:10 |
before 2.16.9-0~deb10u1, plus listed versions 2.16.0-12.16.2-12.16.3-12.16.4-12.16.5-1 |
2.16.9-0~deb10u1 |
mbedtlsDebian:11 |
before 2.16.9-0.1+deb11u1, plus listed versions 2.16.9-0.1 |
2.16.9-0.1+deb11u1 |
MbedTLS_jllJulia |
before 2.28.0+0 | 2.28.0+0 |
mbedtlsMageia:8 |
before 2.16.12-1.mga8 | 2.16.12-1.mga8 |
mbedtlsUbuntu:16.04:LTS |
All versions, plus listed versions 2.1.2-12.2.0-12.2.1-12.2.1-22.2.1-2ubuntu0.12.2.1-2ubuntu0.22.2.1-2ubuntu0.3 |
None known |
mbedtlsUbuntu:Pro:18.04:LTS |
before 2.8.0-1ubuntu0.1~esm1, plus listed versions 2.5.1-1ubuntu12.6.0-12.7.0-22.8.0-1 |
2.8.0-1ubuntu0.1~esm1 |
mbedtlsUbuntu:Pro:20.04:LTS |
before 2.16.4-1ubuntu2+esm1, plus listed versions 2.16.2-12.16.3-12.16.4-1ubuntu2 |
2.16.4-1ubuntu2+esm1 |
mbedtlsUbuntu:Pro:22.04:LTS |
before 2.28.0-1ubuntu0.1~esm1, plus listed versions 2.16.9-0.1ubuntu12.16.11-0.1ubuntu12.16.11-0.32.28.0-12.28.0-1build1 |
2.28.0-1ubuntu0.1~esm1 |
mbedtlsUbuntu:Pro:24.04:LTS |
before 2.28.8-1ubuntu0.1~esm1, plus listed versions 2.28.3-12.28.6-1ubuntu12.28.7-1ubuntu12.28.7-1.1ubuntu12.28.8-1 |
2.28.8-1ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-44732 is a critical vulnerability (CVSS 9.8) in Arm Mbed Tls, published December 20, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.77%, the 86th percentile. Fixed in mbedtls 2.16.12-r0.
References
github.com/ARMmbed/mbedtls/releases
tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-12
bugs.gentoo.org/829660
github.com/ARMmbed/mbedtls/releases/tag/v2.16.12
github.com/ARMmbed/mbedtls/releases/tag/v2.28.0
github.com/ARMmbed/mbedtls/releases/tag/v3.1.0
Show 17 moreShow less
lists.debian.org/debian-lts-announce/2022/12/msg00036.html
lists.debian.org/debian-lts-announce/2025/06/msg00034.html
nvd.nist.gov/vuln/detail/CVE-2021-44732
github.com/advisories/GHSA-7g56-f7p4-fmcq
security.alpinelinux.org/vuln/CVE-2021-44732
security-tracker.debian.org/tracker/CVE-2021-44732
advisories.mageia.org/MGASA-2022-0017.html
bugs.mageia.org/show_bug.cgi?id=29866
ubuntu.com/security/CVE-2021-44732
cve.org/CVERecord?id=CVE-2021-44732
ubuntu.com/security/notices/USN-8123-1
ubuntu.com/security/CVE-2024-23775
ubuntu.com/security/CVE-2025-27810
ubuntu.com/security/CVE-2025-47917
ubuntu.com/security/CVE-2025-48965
ubuntu.com/security/CVE-2025-52496
ubuntu.com/security/CVE-2025-52497