CVE-2026-34871 Details
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).
A vulnerability exists in Mbed TLS versions prior to 3.6.6, in Mbed TLS 4.x prior to 4.1.0, and in TF-PSA-Crypto versions prior to 1.1.0. The issue arises because the libraries can fall back to using `/dev/urandom` for entropy on Linux systems, which may lead to predictable random data being used in cryptographic operations. This is particularly problematic on embedded devices without hardware random generators, where `/dev/urandom` can return predictable data early in the boot process or during OS installation.
Users should upgrade to Mbed TLS 3.6.6 or a later 3.6.x version, or to TF-PSA-Crypto 1.1.0 or above. In these versions, the library uses `/dev/random` if `getrandom()` is unavailable, which is safer, although it may block on older Linux kernels. For Mbed TLS, package maintainers can revert to `/dev/urandom` by setting the `MBEDTLS_PLATFORM_DEV_RANDOM` option. Applications may also adjust the `mbedtls_platform_dev_random` variable to override the default setting.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| arm mbed tls | < 3.6.6 |
CPE
Remediation
| |
| trustedfirmware tf-psa-crypto | < 1.1.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 5, 2026 | CPE Deprecation Remap | [email protected] |
| Apr 6, 2026 | Initial Analysis | [email protected] |
| Apr 1, 2026 | CVE Modified | CISA-ADP |
| Apr 1, 2026 | New CVE Received | [email protected] |