CVEvulnerability

CVE-2024-45158

9.8 CRITICAL Published 2024-09-05 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-09-05
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-121

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

Affected configurations

• trustedfirmware mbed tls 3.6.0

Related

Weakness · CWE (1)

  • CWE-121 Stack-based Buffer Overflow weakness

References