Buffer overflow in Trustedfirmware Mbed TLS
CVE-2024-45158
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.)
Vulnerability class: Buffer Overflow
EPSS: 0.007 (50.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Trustedfirmware Mbed_tls — versions 3.6.0
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Vendor Advisory)
- cve@mitre.org (Release Notes)
- cve@mitre.org (Vendor Advisory)
Frequently asked questions
- What is CVE-2024-45158?
- CVE-2024-45158 is a critical-severity vulnerability in Trustedfirmware Mbed TLS, classified under Stack-based Buffer Overflow. CVSS score: 9.8/10. Published 2024-09-05.
- How severe is CVE-2024-45158?
- Critical severity. CVSS v3 base score is 9.8 out of 10.