What’s Vulnerable › Vulnerabilities

CVE-2026-34872

Description

An issue was discovered in Mbed TLS 3.5.x and 3.6.x through 3.6.5 and TF-PSA-Crypto 1.0. There is a lack of contributory behavior in FFDH due to improper input validation. Using finite-field Diffie-Hellman, the other party can force the shared secret into a small set of values (lack of contributory behavior). This is a problem for protocols that depend on contributory behavior (which is not the case for TLS). The attack can be carried by the peer, or depending on the protocol by an active network attacker (person in the middle).

Affected products

How to fix

Upgrade to a fixed version: mbedtls 3.6.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-34872 or the next vulnerability affects your stack