# CVE-2024-45159: An issue was discovered in Mbed TLS 3.x before 3.6.1.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2024-09-05T00:00:00.000Z
- Modified: 2026-06-17T07:53:41.140Z
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- trustedfirmware mbed_tls: from 3.2.0 before 3.6.1

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://mbed-tls.readthedocs.io/en/latest/security-advisories/> (issue-tracking)
- <https://github.com/Mbed-TLS/mbedtls/releases/> (release-notes)
- <https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-3/> (vendor-advisory)

## Sources

- CVE List: [CVE-2024-45159](https://www.cve.org/CVERecord?id=CVE-2024-45159), CVE Terms of Use, modified 2025-03-13
- NVD: [CVE-2024-45159](https://nvd.nist.gov/vuln/detail/CVE-2024-45159), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-45159 · Whole record: https://cve.day/CVE-2024-45159.json · Rebuilt by cve.day 2026-11-25T22:58:45.127Z
