CVE-2026-34871

Published Apr 1, 2026 CVSS 3.1 · 6.7 Medium EPSS < 1% KEV · Not listed
Description
An issue was discovered in Mbed TLS before 3.6.6 and 4.x before 4.1.0 and TF-PSA-Crypto before 1.1.0. There is a Predictable Seed in a Pseudo-Random Number Generator (PRNG).

Analysis

AI-generated

Technical impact

The vulnerability arises from a predictable seed in the pseudo‑random number generator used by Mbed TLS and TF‑PSA‑Crypto. A determined attacker can predict the output of the PRNG, allowing compromise of cryptographic material such as keys, nonces, or session tokens. The weakness is formally identified as CWE‑338 and can result in loss of confidentiality and integrity for any encryption or authentication relying on the affected randomness source.

Affected Systems

Embedded systems and applications that incorporate ARM's Mbed TLS library prior to version 3.6.6, or the 4.x series before 4.1.0, and TF‑PSA‑Crypto before 1.1.0 are affected. These libraries are widely used in IoT firmware, secure boot solutions, and trust‑zone APIs on ARM processors.

Risk and Exploitability

The severity score of 6.7 places this issue in the medium‑high range. The EPSS score is less than 1 %, indicating a low probability of exploitation, and it is not listed in the CISA KEV catalog. Because the flaw is limited to the PRNG seed, exploitation requires an attacker who can influence or observe the seeding process, which is generally available to local or remote firmware running with the affected library. The cryptographic compromise potential makes this a critical concern for systems that treat PRNG output as fully random.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Mbed TLS to release 3.6.6 or later, or to a 4.x release of 4.1.0 or newer, and replace TF‑PSA‑Crypto with version 1.1.0 or later.
  • Verify that the library version installed on all devices matches the patched release.
  • Continue monitoring vendor advisories and validate any future random number generation used by firmware.

Generated by OpenCVE AI on April 6, 2026 at 17:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4551-1 mbedtls security update
Ubuntu USN Ubuntu USN USN-9281-1 Mbed TLS vulnerabilities
Ubuntu USN Ubuntu USN USN-9384-1 Mbed TLS vulnerabilities
History
Type Values Removed Values Added
First Time appeared Trustedfirmware
Trustedfirmware tf-psa-crypto
CPEs cpe:2.3:a:arm:tf-psa-crypto:*:*:*:*:*:*:*:* cpe:2.3:a:trustedfirmware:tf-psa-crypto:*:*:*:*:*:*:*:*
Vendors & Products Arm tf-psa-crypto
Trustedfirmware
Trustedfirmware tf-psa-crypto
Type Values Removed Values Added
Title Predictable Random Number Generator Seed in Mbed TLS Enables Cryptographic Compromise
Type Values Removed Values Added
First Time appeared Arm
Arm mbed Tls
Arm tf-psa-crypto
CPEs cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:*
cpe:2.3:a:arm:tf-psa-crypto:*:*:*:*:*:*:*:*
Vendors & Products Arm
Arm mbed Tls
Arm tf-psa-crypto
Type Values Removed Values Added
First Time appeared Mbed-tls
Mbed-tls mbedtls
Mbed-tls tf-psa-crypto
Vendors & Products Mbed-tls
Mbed-tls mbedtls
Mbed-tls tf-psa-crypto
Type Values Removed Values Added
Title Predictable Random Number Generator Seed in Mbed TLS Enables Cryptographic Compromise
Type Values Removed Values Added
Description An issue was discovered in Mbed TLS before 3.6.6 and 4.x before 4.1.0 and TF-PSA-Crypto before 1.1.0. There is a Predictable Seed in a Pseudo-Random Number Generator (PRNG).
Weaknesses CWE-338
References
Metrics cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-338

    Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 1, 2026, 8:04 PM
Reserved
Mar 31, 2026, 12:00 AM
Status
Analyzed
Published
Apr 1, 2026, 7:16 PM
Modified
Jun 17, 2026, 10:39 AM