CVE-2024-45158Trustedfirmware Mbed Tls
Critical 9.8 No auth needed
Follow: this CVE · Trustedfirmware · Trustedfirmware Mbed Tls We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- No
- Published
- Sep 5, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-121
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.)
What to do
- Apply the vendor's security update for Mbed Tls.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| trustedfirmware | mbed_tls | 3.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- mbed-tls.readthedocs.io Vendor Advisory
- mbed-tls.readthedocs.io Vendor Advisory