VULNERABILITY INTELLIGENCE

CVE-2024-45158

CVSS score9.8 CRITICAL
EPSS probability0.68%
CISA KEVNot currently listed
Published2024-09-05
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

Weakness classification

  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-121

Primary references