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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.007 (51.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 52nd percentile — 51.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Trustedfirmware Mbed TLS — versions 3.6.0
Weakness classification (CWE)
References
- mbed-tls.readthedocs.io/en/latest/security-advisories/ (Vendor Advisory)
- github.com/Mbed-TLS/mbedtls/releases/ (Release Notes)
- mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory… (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.