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).
Use CWE-347, Arm vendor hub and Mbed Tls product page to widen CVE-2026-34872 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2026-34877, CVE-2026-34875 and CVE-2026-34873 for nearby disclosures in the same product family.