cbcvebase.

Mbed Mbedtls vulnerabilities

52 known vulnerabilities affecting mbed/mbedtls.

Total CVEs
52
CISA KEV
0
Public exploits
1
Exploited in wild
0
Severity breakdown
CRITICAL10HIGH14MEDIUM26LOW2

Vulnerabilities

Page 1 of 3
CVE-2025-47917P2CRITICALCVSS 9.8PoCfixed in 3.6.42025-07-20
CVE-2025-47917 [CRITICAL] CWE-416 CVE-2025-47917: Mbed TLS before 3.6.4 allows a use-after-free in certain situations of applications that are develop Mbed TLS before 3.6.4 allows a use-after-free in certain situations of applications that are developed in accordance with the documentation. The function mbedtls_x509_string_to_names() takes a head argument that is documented as an output argument. The documentation does not suggest that the function will free that pointer; however, the function d
nvdosv
CVE-2024-45159P3CRITICALCVSS 9.8≥ 0, < 3.6.1-r02024-09-05
CVE-2024-45159 [CRITICAL] CVE-2024-45159: An issue was discovered in Mbed TLS 3 An issue was discovered in Mbed TLS 3.x before 3.6.1. With TLS 1.3, when a server enables optional authentication of the client, if the client-provided certificate does not have appropriate values in if keyUsage or extKeyUsage extensions, then the return value of mbedtls_ssl_get_verify_result() would incorrectly have the MBEDTLS_X509_BADCERT_KEY_USAGE and MBEDTLS_X509_BADCERT_KEY_USAGE bits clear. As a result, an att
osv
CVE-2024-45158P3CRITICALCVSS 9.8≥ 0, < 3.6.1-r02024-09-05
CVE-2024-45158 [CRITICAL] CVE-2024-45158: An issue was discovered in Mbed TLS 3 An issue was discovered in Mbed TLS 3.6 before 3.6.1. A stack buffer overflow in mbedtls_ecdsa_der_to_raw() and mbedtls_ecdsa_raw_to_der() can occur when the bits parameter is larger than the largest supported curve. In some configurations with PSA disabled, all values of bits are affected. (This never happens in internal library calls, but can affect applications that call these functions directly.)
osv
CVE-2018-0487P3CRITICALCVSS 9.8≥ 0, < 2.7.0-22018-02-13
CVE-2018-0487 [CRITICAL] CVE-2018-0487: ARM mbed TLS before 1 ARM mbed TLS before 1.3.22, before 2.1.10, and before 2.7.0 allows remote attackers to execute arbitrary code or cause a denial of service (buffer overflow) via a crafted certificate chain that is mishandled during RSASSA-PSS signature verification within a TLS or DTLS session.
osv
CVE-2018-0488P3CRITICALCVSS 9.8≥ 0, < 2.7.0-22018-02-13
CVE-2018-0488 [CRITICAL] CVE-2018-0488: ARM mbed TLS before 1 ARM mbed TLS before 1.3.22, before 2.1.10, and before 2.7.0, when the truncated HMAC extension and CBC are used, allows remote attackers to execute arbitrary code or cause a denial of service (heap corruption) via a crafted application packet within a TLS or DTLS session.
osv
CVE-2022-35409P3CRITICALCVSS 9.1≥ 0, < 2.28.1-12022-07-15
CVE-2022-35409 [CRITICAL] CVE-2022-35409: An issue was discovered in Mbed TLS before 2 An issue was discovered in Mbed TLS before 2.28.1 and 3.x before 3.2.0. In some configurations, an unauthenticated attacker can send an invalid ClientHello message to a DTLS server that causes a heap-based buffer over-read of up to 255 bytes. This can cause a server crash or possibly information disclosure based on error responses. Affected configurations have MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE enabled and MBE
osv
CVE-2017-14032P3HIGHCVSS 8.1≥ 0, < 2.6.0-12017-08-30
CVE-2017-14032 [HIGH] CVE-2017-14032: ARM mbed TLS before 1 ARM mbed TLS before 1.3.21 and 2.x before 2.1.9, if optional authentication is configured, allows remote attackers to bypass peer authentication via an X.509 certificate chain with many intermediates. NOTE: although mbed TLS was formerly known as PolarSSL, the releases shipped with the PolarSSL name are not affected.
osv
CVE-2017-2784P3HIGHCVSS 8.1≥ 0, < 2.4.2-12017-04-20
CVE-2017-2784 [HIGH] CVE-2017-2784: An exploitable free of a stack pointer vulnerability exists in the x509 certificate parsing code of ARM mbed TLS before 1 An exploitable free of a stack pointer vulnerability exists in the x509 certificate parsing code of ARM mbed TLS before 1.3.19, 2.x before 2.1.7, and 2.4.x before 2.4.2. A specially crafted x509 certificate, when parsed by mbed TLS library, can cause an invalid free of a stack pointer leading to a potential remote code execution. In order t
osv
CVE-2024-49195P3CRITICALCVSS 9.8≥ 0, < 3.6.2-12024-10-15
CVE-2024-49195 [CRITICAL] CVE-2024-49195: Mbed TLS 3 Mbed TLS 3.5.x through 3.6.x before 3.6.2 has a buffer underrun in pkwrite when writing an opaque key pair
osv
CVE-2017-18187P3CRITICALCVSS 9.8≥ 0, < 2.2.1-2ubuntu0.32020-02-05
CVE-2017-18187 [CRITICAL] mbedtls vulnerabilities mbedtls vulnerabilities It was discovered that mbedtls has a bounds-check bypass through an integer overflow that can be used by an attacked to execute arbitrary code or cause a denial of service. (CVE-2017-18187) It was discovered that mbedtls has a vulnerability where an attacker could execute arbitrary code or cause a denial of service (buffer overflow) via a crafted certificate chain that is mishandled during RSASSA-PSS signature verificati
osv
CVE-2021-44732P3CRITICALCVSS 9.8≥ 0, < 2.8.0-1ubuntu0.1~esm1≥ 0, < 2.16.4-1ubuntu2+esm1+2 more2026-03-25
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 o
osv
CVE-2022-46393P3CRITICALCVSS 9.8≥ 0, < 2.28.2-12022-12-15
CVE-2022-46393 [CRITICAL] CVE-2022-46393: An issue was discovered in Mbed TLS before 2 An issue was discovered in Mbed TLS before 2.28.2 and 3.x before 3.3.0. There is a potential heap-based buffer overflow and heap-based buffer over-read in DTLS if MBEDTLS_SSL_DTLS_CONNECTION_ID is enabled and MBEDTLS_SSL_CID_IN_LEN_MAX > 2 * MBEDTLS_SSL_CID_OUT_LEN_MAX.
osv
CVE-2020-36423P3HIGHCVSS 7.5≥ 0, < 2.16.9-0.12021-07-19
CVE-2020-36423 [HIGH] CVE-2020-36423: An issue was discovered in Arm Mbed TLS before 2 An issue was discovered in Arm Mbed TLS before 2.23.0. A remote attacker can recover plaintext because a certain Lucky 13 countermeasure doesn't properly consider the case of a hardware accelerator.
osv
CVE-2025-52496P3HIGHCVSS 7.8fixed in 3.6.42025-07-04
CVE-2025-52496 [HIGH] CWE-733 CVE-2025-52496: Mbed TLS before 3.6.4 has a race condition in AESNI detection if certain compiler optimizations occu Mbed TLS before 3.6.4 has a race condition in AESNI detection if certain compiler optimizations occur. An attacker may be able to extract an AES key from a multithreaded program, or perform a GCM forgery.
nvdosv
CVE-2024-28960P3HIGHCVSS 8.2≥ 0, < 2.28.8-12024-03-29
CVE-2024-28960 [HIGH] CVE-2024-28960: An issue was discovered in Mbed TLS 2 An issue was discovered in Mbed TLS 2.18.0 through 2.28.x before 2.28.8 and 3.x before 3.6.0, and Mbed Crypto. The PSA Crypto API mishandles shared memory.
osv
CVE-2020-36476P3HIGHCVSS 7.5≥ 0, < 2.16.9-0.12021-08-23
CVE-2020-36476 [HIGH] CVE-2020-36476: An issue was discovered in Mbed TLS before 2 An issue was discovered in Mbed TLS before 2.24.0 (and before 2.16.8 LTS and before 2.7.17 LTS). There is missing zeroization of plaintext buffers in mbedtls_ssl_read to erase unused application data from memory.
osv
CVE-2021-43666P3HIGHCVSS 7.5≥ 0, < 2.16.9-0.1+deb11u1≥ 0, < 2.28.0-12022-03-24
CVE-2021-43666 [HIGH] CVE-2021-43666: A Denial of Service vulnerability exists in mbed TLS 3 A Denial of Service vulnerability exists in mbed TLS 3.0.0 and earlier in the mbedtls_pkcs12_derivation function when an input password's length is 0.
osv
CVE-2020-36475P3HIGHCVSS 7.5≥ 0, < 2.16.9-0.12021-08-23
CVE-2020-36475 [HIGH] CVE-2020-36475: An issue was discovered in Mbed TLS before 2 An issue was discovered in Mbed TLS before 2.25.0 (and before 2.16.9 LTS and before 2.7.18 LTS). The calculations performed by mbedtls_mpi_exp_mod are not limited; thus, supplying overly large parameters could lead to denial of service when generating Diffie-Hellman key pairs.
osv
CVE-2020-36478P3HIGHCVSS 7.5≥ 0, < 2.16.9-0.12021-08-23
CVE-2020-36478 [HIGH] CVE-2020-36478: An issue was discovered in Mbed TLS before 2 An issue was discovered in Mbed TLS before 2.25.0 (and before 2.16.9 LTS and before 2.7.18 LTS). A NULL algorithm parameters entry looks identical to an array of REAL (size zero) and thus the certificate is considered valid. However, if the parameters do not match in any way, then the certificate should be considered invalid.
osv
CVE-2025-48965P3HIGHCVSS 7.5fixed in 3.6.42025-07-20
CVE-2025-48965 [HIGH] CWE-696 CVE-2025-48965: Mbed TLS before 3.6.4 has a NULL pointer dereference because mbedtls_asn1_store_named_data can trigg Mbed TLS before 3.6.4 has a NULL pointer dereference because mbedtls_asn1_store_named_data can trigger conflicting data with val.p of NULL but val.len greater than zero.
nvdosv
Mbed Mbedtls vulnerabilities | cvebase