
CVE catalog
CVE-2024-45159
mbedtls: CVE-2024-45159
- Severity
- Low
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.39% · Oct 25, 2026
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).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mbedtls | sid | 3.6.7-3 | not affected |
| Debian | mbedtls | forky | 3.6.7-3 | not affected |
| Debian | mbedtls | trixie | 3.6.6-0.1~deb13u1 | not affected |
| Debian | mbedtls | bookworm | 2.28.3-1 | not affected |
| Alpine | mbedtls | 3.20 | 3.6.1-r0 | fixed |
| Alpine | mbedtls | 3.21 | 3.6.1-r0 | fixed |
| Alpine | mbedtls | 3.22 | 3.6.1-r0 | fixed |
| Alpine | mbedtls | 3.23 | 3.6.1-r0 | fixed |
| Alpine | mbedtls | 3.24 | 3.6.1-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mbedtls | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | mbedtls | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | mbedtls | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | mbedtls | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Alpine | mbedtls | apk | 3.20 | 3.6.1-r0 | Not reported | ALPINE-CVE-2024-45159 | Not reported |
| Alpine | mbedtls | apk | 3.21 | 3.6.1-r0 | Not reported | ALPINE-CVE-2024-45159 | Not reported |
| Alpine | mbedtls | apk | 3.22 | 3.6.1-r0 | Not reported | ALPINE-CVE-2024-45159 | Not reported |
| Alpine | mbedtls | apk | 3.23 | 3.6.1-r0 | Not reported | ALPINE-CVE-2024-45159 | Not reported |
| Alpine | mbedtls | apk | 3.24 | 3.6.1-r0 | Not reported | ALPINE-CVE-2024-45159 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libmbedcrypto7]Not affected
Source package: [mbedtls]
Details (2)
2.28.3-1· amd64 · bookwormNot affected
dsa · mbedtls · debian · bookworm
2.28.3-1· arm64 · bookwormNot affected
dsa · mbedtls · debian · bookworm
- [libmbedtls14]Not affected
Source package: [mbedtls]
Details (2)
2.28.3-1· amd64 · bookwormNot affected
dsa · mbedtls · debian · bookworm
2.28.3-1· arm64 · bookwormNot affected
dsa · mbedtls · debian · bookworm
- [libmbedtls-dev]Not affected
Source package: [mbedtls]
Details (2)
2.28.3-1· amd64 · bookwormNot affected
dsa · mbedtls · debian · bookworm
2.28.3-1· arm64 · bookwormNot affected
dsa · mbedtls · debian · bookworm
- [libmbedtls-doc]Not affected
Source package: [mbedtls]
Details (2)
2.28.3-1· all · bookwormNot affected
dsa · mbedtls · debian · bookworm
2.28.3-1· all · bookwormNot affected
dsa · mbedtls · debian · bookworm
- [libmbedx509-1]Not affected
Source package: [mbedtls]
Details (2)
2.28.3-1· amd64 · bookwormNot affected
dsa · mbedtls · debian · bookworm
2.28.3-1· arm64 · bookwormNot affected
dsa · mbedtls · debian · bookworm
Observed: