USN-9281-1: Mbed TLS vulnerabilities
It was discovered that Mbed TLS incorrectly handled certain ClientHello messages in DTLS servers, leading to a heap buffer over-read. In certain configurations, a remote attacker could possibly use this issue to cause Mbed TLS to crash, resulting in a denial of service, or obtain sensitive information. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-35409) It was discovered that Mbed TLS did not properly protect RSA private key operations against side-channel attacks when configured with a small exponentiation window size. An attacker with access to precise information about memory accesses could possibly use this issue to recover RSA private keys. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-46392) It was discovered that Mbed TLS incorrectly handled DTLS connection IDs in certain configurations, leading to a heap buffer overflow. A remote attacker could possibly use this issue to cause Mbed TLS to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-46393) It was discovered that Mbed TLS incorrectly handled memory under certain circumstances, leading to a buffer overflow. An attacker could possibly use this issue to cause Mbed TLS to crash, resulting in a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2023-43615) It was discovered that Mbed TLS had a timing side-channel when performing RSA private key operations. An attacker could possibly use this issue to recover plaintext from encrypted messages. This issue only affected Ubuntu 22.04 LTS. (CVE-2024-23170) It was discovered that Mbed TLS did not always use the random number generator selected for the PSA subsystem in its build configuration, contrary to its documentation. Applications relying on the documented behavior might use a different random number generator than expected. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-45157) It was discovered that Mbed TLS, when acting as a TLS 1.3 client, accepted a HelloRetryRequest message selecting a key exchange group that the client did not offer. A remote attacker could possibly use this issue to bypass the client's key exchange group restrictions. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-25832) It was discovered that Mbed TLS, when acting as a TLS 1.2 client, accepted ServerKeyExchange messages signed with signature algorithms that the client did not allow. A remote attacker could possibly use this issue to perform an algorithm downgrade attack. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-25834) It was discovered that Mbed TLS did not reseed its PSA random number generator after a process forked, causing parent and child processes to generate the same random numbers. An attacker could possibly use this issue to obtain sensitive information. (CVE-2026-25835) It was discovered that Mbed TLS could seed its random number generator with predictable data under certain circumstances. An attacker could possibly use this issue to predict random values and obtain sensitive information. (CVE-2026-34871) It was discovered that Mbed TLS did not properly validate peer public keys in PSA finite-field Diffie-Hellman key agreement. An attacker could possibly use this issue to force the shared secret into a small set of values in protocols that depend on contributory behavior. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-34872) It was discovered that Mbed TLS, when acting as a TLS 1.3 server, could be made to resume a TLS 1.2 session after sending a HelloRetryRequest message. A remote attacker could possibly use this issue to impersonate a client. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-34873) It was discovered that Mbed TLS did not check the result of a memory allocation when parsing distinguished names, leading to a NULL pointer dereference. An attacker could possibly use this issue to cause Mbed TLS to crash, resulting in a denial of service. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-34874) It was discovered that Mbed TLS did not check the output buffer size when exporting finite-field Diffie-Hellman public keys, leading to a buffer overflow. An attacker could possibly use this issue to cause Mbed TLS to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-34875) It was discovered that Mbed TLS did not validate the tag length in its multipart CCM API, leading to an out-of-bounds read. An attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-34876) It was discovered that Mbed TLS did not properly validate serialized TLS session and context data when loading it. An attacker able to modify the serialized data could possibly use this issue to cause Mbed TLS to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-34877) It was discovered that Mbed TLS incorrectly checked the output buffer size when computing ECDH shared secrets, leading to a buffer overflow. An attacker could possibly use this issue to cause Mbed TLS to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-35336) It was discovered that Mbed TLS incorrectly parsed the basicConstraints extension in X.509 certificates, which could result in a certificate being treated as a CA certificate. An attacker could possibly use this issue to bypass certificate validation. (CVE-2026-49300) It was discovered that Mbed TLS did not reset PKCS #7 contexts when freeing them, leading to a use-after-free. An attacker could possibly use this issue to cause Mbed TLS to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-50579) It was discovered that Mbed TLS ignored errors when computing the TLS 1.2 handshake transcript hash. This could result in the extended master secret or the CertificateVerify message being computed from incomplete data. (CVE-2026-50581) It was discovered that Mbed TLS did not prevent the ChaCha20 block counter from wrapping around, leading to keystream reuse. An attacker could possibly use this issue to obtain sensitive information. (CVE-2026-50584) It was discovered that Mbed TLS did not clear DTLS-SRTP negotiation state when resetting an SSL context. This could result in a new connection reusing DTLS-SRTP parameters from a previous connection. (CVE-2026-50585) It was discovered that Mbed TLS could send uninitialized memory in TLS 1.2 NewSessionTicket messages when creating a session ticket failed. A remote attacker could possibly use this issue to obtain sensitive information. (CVE-2026-50586) It was discovered that Mbed TLS had a timing side-channel when performing RSA PKCS#1 v1.5 decryption. A remote attacker could possibly use this issue to perform Bleichenbacher-like attacks and recover private data. (CVE-2026-50587) It was discovered that Mbed TLS ignored certain errors when issuing and receiving TLS 1.3 session tickets. This could result in invalid session tickets being used. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-50640) It was discovered that Mbed TLS incorrectly tracked handshake message fragments during DTLS renegotiation, leading to a buffer overflow. A remote attacker could possibly use this issue to cause Mbed TLS to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-50713) It was discovered that Mbed TLS had a timing side-channel in elliptic curve modular reduction. An attacker could possibly use this issue to recover private data. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-54435) It was discovered that Mbed TLS incorrectly documented that the signature algorithms configured for TLS also applied to certificate verification. Applications relying on the documented behavior might accept certificates signed with algorithms they did not intend to allow. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-54441) It was discovered that Mbed TLS, when acting as a TLS 1.3 server, incorrectly handled random number generator failures when preparing session tickets. An attacker able to cause the entropy source to fail could possibly use this issue to remove or inject bytes at the start of the TLS stream. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-73064)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libmbedcrypto16to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmbedtls21to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmbedx509-7to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmbedcrypto7t64to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmbedtls14t64to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmbedx509-1t64to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmbedcrypto7to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmbedtls14to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libmbedx509-1to a version that resolves this vulnerability.Fixed in Ubuntu Pro
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which systems are explicitly identified as affected?
The described CVE-2022-35409, CVE-2022-46392, and CVE-2022-46393 issues explicitly affected Ubuntu 22.04 LTS. The provided information does not identify affected versions for the additional, truncated issue description.
What conditions are needed to exploit the DTLS-related issues?
CVE-2022-35409 requires an Mbed TLS DTLS server handling certain ClientHello messages. CVE-2022-46393 applies in certain configurations involving DTLS connection IDs; a remote attacker may be able to trigger denial of service or potentially arbitrary code execution.
What level of attacker access is required for the RSA key side-channel issue?
For CVE-2022-46392, the attacker needs access to precise information about memory accesses. The issue applies when Mbed TLS uses a small exponentiation window size and could allow recovery of RSA private keys.