Home

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.)

PUBLISHED Reserved 2024-08-22 | Published 2024-09-05 | Updated 2024-11-25 | Assigner mitre

References

mbed-tls.readthedocs.io/en/latest/security-advisories/

github.com/Mbed-TLS/mbedtls/releases/

mbed-tls.readthedocs.io/...dtls-security-advisory-2024-08-2/

cve.org (CVE-2024-45158)

nvd.nist.gov (CVE-2024-45158)

Download JSON