CVE-2024-45158
published critical CVSS 3.1 · 9.8mbedtls vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| mbed | — | mbedtls3.6 to < 3.6.1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Alpine Linux | edge | mbedtls | Fixed | 3.6.1-r0 | Package fix record |
| Alpine Linux | v3.20 | mbedtls | Fixed | 3.6.1-r0 | Package fix record |
| Alpine Linux | v3.21 | mbedtls | Fixed | 3.6.1-r0 | Package fix record |
| Alpine Linux | v3.22 | mbedtls | Fixed | 3.6.1-r0 | Package fix record |
| Alpine Linux | v3.23 | mbedtls | Fixed | 3.6.1-r0 | Package fix record |
| Alpine Linux | v3.24 | mbedtls | Fixed | 3.6.1-r0 | Package fix record |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | edge | mbedtls3 | Fixed | 3.6.1-r0 | Package fix record |
| Alpine Linux | v3.24 | mbedtls3 | Fixed | 3.6.1-r0 | Package fix record |
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.)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| mbed | mbedtls | 3.6 to < 3.6.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-121 CWE-121 Stack-based Buffer Overflow
References
3Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5b7d3219a2ad35fe97a6108c77674ac6bdce118b35b45f7831f7f1f71a9a0b1f
- Ingested
- 23 Sep 2026, 08:27:32 UTC
- Source record
- Official CVE record