Ubuntu 22.04 LTS / 24.04 LTS / 26.04 LTS : mbedtls vulnerabilities (USN-9281-1)

critical Nessus Plugin ID 391207

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 22.04 LTS / 24.04 LTS / 26.04 LTS host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-9281-1 advisory.

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)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/CVE-2022-35409

https://ubuntu.com/security/CVE-2022-46392

https://ubuntu.com/security/CVE-2022-46393

https://ubuntu.com/security/CVE-2023-43615

https://ubuntu.com/security/CVE-2024-23170

https://ubuntu.com/security/CVE-2024-45157

https://ubuntu.com/security/CVE-2026-25832

https://ubuntu.com/security/CVE-2026-25834

https://ubuntu.com/security/CVE-2026-25835

https://ubuntu.com/security/CVE-2026-34871

https://ubuntu.com/security/CVE-2026-34872

https://ubuntu.com/security/CVE-2026-34873

https://ubuntu.com/security/CVE-2026-34874

https://ubuntu.com/security/CVE-2026-34875

https://ubuntu.com/security/CVE-2026-34876

https://ubuntu.com/security/CVE-2026-34877

https://ubuntu.com/security/CVE-2026-35336

https://ubuntu.com/security/CVE-2026-49300

https://ubuntu.com/security/CVE-2026-50579

https://ubuntu.com/security/CVE-2026-50581

https://ubuntu.com/security/CVE-2026-50584

https://ubuntu.com/security/CVE-2026-50585

https://ubuntu.com/security/CVE-2026-50586

https://ubuntu.com/security/CVE-2026-50587

https://ubuntu.com/security/CVE-2026-50640

https://ubuntu.com/security/CVE-2026-50713

https://ubuntu.com/security/CVE-2026-54435

https://ubuntu.com/security/CVE-2026-54441

https://ubuntu.com/security/CVE-2026-73064

https://ubuntu.com/security/notices/USN-9281-1

Plugin Details

Severity: Critical

ID: 391207

File Name: ubuntu_USN-9281-1.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/2/2026

Updated: 12/2/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-46393

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:22.04:-:lts, cpe:/o:canonical:ubuntu_linux:24.04:-:lts, cpe:/o:canonical:ubuntu_linux:26.04:-:lts, cpe:/o:canonical:ubuntu_linux:pro:-:lts, p-cpe:/a:canonical:ubuntu_linux:libmbedcrypto16, p-cpe:/a:canonical:ubuntu_linux:libmbedcrypto7, p-cpe:/a:canonical:ubuntu_linux:libmbedcrypto7t64, p-cpe:/a:canonical:ubuntu_linux:libmbedtls14, p-cpe:/a:canonical:ubuntu_linux:libmbedtls14t64, p-cpe:/a:canonical:ubuntu_linux:libmbedtls21, p-cpe:/a:canonical:ubuntu_linux:libmbedx509-1, p-cpe:/a:canonical:ubuntu_linux:libmbedx509-1t64, p-cpe:/a:canonical:ubuntu_linux:libmbedx509-7

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/1/2026

Vulnerability Publication Date: 7/15/2022

Reference Information

CVE: CVE-2022-35409, CVE-2022-46392, CVE-2022-46393, CVE-2023-43615, CVE-2024-23170, CVE-2024-45157, CVE-2026-25832, CVE-2026-25834, CVE-2026-25835, CVE-2026-34871, CVE-2026-34872, CVE-2026-34873, CVE-2026-34874, CVE-2026-34875, CVE-2026-34876, CVE-2026-34877, CVE-2026-35336, CVE-2026-49300, CVE-2026-50579, CVE-2026-50581, CVE-2026-50584, CVE-2026-50585, CVE-2026-50586, CVE-2026-50587, CVE-2026-50640, CVE-2026-50713, CVE-2026-54435, CVE-2026-54441, CVE-2026-73064

USN: 9281-1