9.8

CVE-2024-45158: trustedfirmware mbed tls Stack-based Buffer Overflow

Analyzed
AliasesALPINE-CVE-2024-45158UBUNTU-CVE-2024-45158
Published 05-09-2024Last modified 25-11-2024

Vulnerability summary

CVE-2024-45158 is a critical (CVSS 9.8) Stack-based Buffer Overflow vulnerability in trustedfirmware mbed tls. EPSS estimates a 0.68% chance of exploitation in the next 30 days, higher than 53.9% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.68%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 05-09-2024
    PublishedVulnerability first disclosed.
  2. 25-11-2024
    Last modifiedVulnerability information updated.

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

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.68%

Chance of exploitation in the next 30 days

Percentile

54%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.68% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine2 products
  • mbedtls< 3.6.1-r0
  • mbedtls3< 3.6.1-r0
Trustedfirmware1 product
Ubuntu1 product
  • mbedtlsAll versions (No fix recorded)

3 vendors · 4 products

References

6 links