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.)
References
Link | Resource |
---|---|
https://github.com/Mbed-TLS/mbedtls/releases/ | Release Notes |
https://mbed-tls.readthedocs.io/en/latest/security-advisories/ | Vendor Advisory |
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-2/ | Vendor Advisory |
Configurations
History
16 May 2025, 20:17
Type | Values Removed | Values Added |
---|---|---|
First Time |
Arm mbed Tls
Arm |
|
CPE | cpe:2.3:a:arm:mbed_tls:3.6.0:*:*:*:*:*:*:* | |
References | () https://github.com/Mbed-TLS/mbedtls/releases/ - Release Notes | |
References | () https://mbed-tls.readthedocs.io/en/latest/security-advisories/ - Vendor Advisory | |
References | () https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-2/ - Vendor Advisory |
06 Sep 2024, 19:35
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-09-05 19:15
Updated : 2025-05-16 20:17
NVD link : CVE-2024-45158
Mitre link : CVE-2024-45158
CVE.ORG link : CVE-2024-45158
JSON object : View
Products Affected
arm
- mbed_tls
CWE
CWE-121
Stack-based Buffer Overflow