Back

CRITICAL

mbedtls: Mbed TLS and TF-PSA-Crypto: Shared secret manipulation via improper FFDH input validation

Published Apr 1, 2026

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

Remediation

Red Hat statement

An Important flaw exists in Mbed TLS and TF-PSA-Crypto due to improper input validation in the finite-field Diffie-Hellman (FFDH) key exchange. This allows a remote attacker to influence the shared secret to a small set of values, impacting protocols that rely on strong contributory behavior. Notably, the TLS protocol is not affected by this specific issue.

Red Hat mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Weaknesses (2)

References (7)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Apr 1, 2026
Updated Apr 1, 2026
Reserved Mar 31, 2026
CISA Vulnrichment
Updated Apr 1, 2026
NVD
Status Analyzed
Modified Jun 17, 2026
Red Hat
Severity Important
Public date Apr 1, 2026
ENISA EUVD
Assigner mitre
Published Apr 1, 2026
Updated Apr 1, 2026
Exploited since n/a
EUVD-2026-18021