CVE Vulnerabilities

CVE-2021-44732

Double Free

Published: Dec 20, 2021 | Modified: Feb 24, 2023
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

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, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Mbed_tls Arm * 2.16.12 (excluding)
Mbed_tls Arm 2.17.0 (including) 2.28.0 (excluding)
Mbed_tls Arm 3.0.0 (including) 3.0.0 (including)
Mbed_tls Arm 3.0.0-preview1 (including) 3.0.0-preview1 (including)

Potential Mitigations

References