USN-9281-1: Mbed TLS vulnerabilities

Published Dec 1, 2026
·
Updated

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

18 affected componentsFixes available
All of the following
ubuntu/libmbedcrypto16<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=26.04
All of the following
ubuntu/libmbedtls21<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=26.04
All of the following
ubuntu/libmbedx509-7<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=26.04
All of the following
ubuntu/libmbedcrypto7t64<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libmbedtls14t64<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libmbedx509-1t64<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libmbedcrypto7<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libmbedtls14<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libmbedx509-1<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libmbedcrypto16 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  2. Upgrade

    Upgrade ubuntu/libmbedtls21 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  3. Upgrade

    Upgrade ubuntu/libmbedx509-7 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  4. Upgrade

    Upgrade ubuntu/libmbedcrypto7t64 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  5. Upgrade

    Upgrade ubuntu/libmbedtls14t64 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  6. Upgrade

    Upgrade ubuntu/libmbedx509-1t64 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  7. Upgrade

    Upgrade ubuntu/libmbedcrypto7 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  8. Upgrade

    Upgrade ubuntu/libmbedtls14 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  9. Upgrade

    Upgrade ubuntu/libmbedx509-1 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro

Event History

Dec 1, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203