# CVE-2024-45158

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-09-05 · Modified: 2024-11-25
- Aliases: ALPINE-CVE-2024-45158, UBUNTU-CVE-2024-45158
- Record: https://cvemate.com/vulnerability/CVE-2024-45158 · JSON: https://cvemate.com/vulnerability/CVE-2024-45158/json

## Description

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

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.683%, percentile 53.921%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine mbedtls (Alpine Linux): \< 3.6.1-r0
- alpine mbedtls3 (Alpine Linux): \< 3.6.1-r0
- ubuntu mbedtls (Ubuntu): All versions (No fix recorded)
- trustedfirmware mbed tls: 3.6.0

## References

- <https://mbed-tls.readthedocs.io/en/latest/security-advisories/>
- <https://github.com/Mbed-TLS/mbedtls/releases/>
- <https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-2/>
- <https://security.alpinelinux.org/vuln/CVE-2024-45158>
- <https://ubuntu.com/security/CVE-2024-45158>
- <https://www.cve.org/CVERecord?id=CVE-2024-45158>

---

Data as of 2026-12-05T10:56:19.495Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
