# CVE-2024-45159

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 3.6.1 (CNA); fix release not confirmed
- Status: published
- Published: 2024-09-05 · Modified: 2025-03-13
- Aliases: ALPINE-CVE-2024-45159, UBUNTU-CVE-2024-45159
- Record: https://cvemate.com/vulnerability/CVE-2024-45159 · JSON: https://cvemate.com/vulnerability/CVE-2024-45159/json

## Description

```text
An issue was discovered in Mbed TLS 3.x before 3.6.1. With TLS 1.3, when a server enables optional authentication of the client, if the client-provided certificate does not have appropriate values in if keyUsage or extKeyUsage extensions, then the return value of mbedtls_ssl_get_verify_result() would incorrectly have the MBEDTLS_X509_BADCERT_KEY_USAGE and MBEDTLS_X509_BADCERT_KEY_USAGE bits clear. As a result, an attacker that had a certificate valid for uses other than TLS client authentication would nonetheless be able to use it for TLS client authentication. Only TLS 1.3 servers were affected, and only with optional authentication (with required authentication, the handshake would be aborted with a fatal alert).
```

## 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.387%, percentile 34.909%, 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.2.0, \< 3.6.1

## 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-3/>
- <https://security.alpinelinux.org/vuln/CVE-2024-45159>
- <https://ubuntu.com/security/CVE-2024-45159>
- <https://www.cve.org/CVERecord?id=CVE-2024-45159>

---

Data as of 2026-12-05T10:27:43.645Z. 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
