Critical severity9.8NVD Advisory· Published Sep 5, 2024· Updated Jun 17, 2026
CVE-2024-45158
CVE-2024-45158
Description
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.)
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3- Mbed TLS/Mbed TLSdescription
Patches
Vulnerability mechanics
References
3- mbed-tls.readthedocs.io/en/latest/security-advisories/nvdVendor Advisory
- mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-2/nvdVendor Advisory
- github.com/Mbed-TLS/mbedtls/releases/nvdRelease Notes
News mentions
0No linked articles in our index yet.