Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPeer sends crafted FFDH parameters
-
ExploitShared secret constrained to small set
-
ExecutionAttacker derives predictable shared secret
-
ImpactDecrypt or forge protocol messages
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Remote unauthenticated attacker exploiting Mbed TLS 3.5.x or 3.6.0-3.6.5, or TF-PSA-Crypto 1.0 when using finite-field Diffie-Hellman (FFDH) key exchange. Requires either peer relationship or man-in-the-middle network position. Only affects protocols depending on contributory behavior (TLS unaffected). |
| Impact | The risk profile for this vulnerability is nuanced and context-dependent. With no CVSS score, EPSS data, or public exploit code provided, the severity cannot be quantified through standard metrics. However, the vulnerability has clear cryptographic implications: it violates a fundamental security property (contributory behavior) in FFDH implementations. The impact is moderate in scope because TLS itself does not depend on this property and is therefore unaffected. The real risk lies in non-TLS protocols or custom implementations that rely on FFDH for contributory behavior-these face high cryptographic risk if they use the affected library versions. The attack vector includes both direct peer-driven exploitation (requiring the attacker to participate in the key exchange) and active network interception (MITM). Organizations using Mbed TLS or TF-PSA-Crypto primarily for TLS can deprioritize patching; those using these libraries for custom FFDH-based protocols must prioritize remediation. The absence of public exploit code and KEV status suggests this is not a widespread active threat, but the cryptographic nature of the flaw warrants prompt attention from affected protocol designers and implementers. |
| Exploit ScenarioDerived | In a protocol requiring contributory behavior (such as a custom protocol deriving session keys from FFDH shared secrets), an attacker who participates in the key exchange can supply a maliciously crafted Diffie-Hellman prime or other parameters that force the peer's shared secret computation into a small set of values. For example, if the attacker provides parameters with known small subgroup structure, the resulting shared secret becomes predictable despite cryptographically valid modular arithmetic. An active network attacker (MITM) can exploit this further by intercepting and modifying the peer's parameters in transit. No public proof-of-concept exploit code is currently available, and exploitation requires either direct peer participation or network-level interception capability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Finite-field Diffie-Hellman (FFDH) in Mbed TLS 3.5.x, 3.6.0 through 3.6.5, and TF-PSA-Crypto 1.0 lacks contributory behavior due to improper validation of peer-supplied parameters, allowing an attacker to restrict the shared secret to a small set of predictable values. While the vulnerability does not directly impact TLS (which does not depend on contributory behavior), it poses a significant risk to protocols that do rely on this property, including those where an active network attacker or malicious peer can exploit the weakness. No CVSS score or public exploit code has been assigned at the time of analysis.
RemediationAI
Upgrade Mbed TLS to version 3.6.6 or later, which includes corrected peer-supplied parameter validation for FFDH. Users of TF-PSA-Crypto should upgrade to the patched release addressing this advisory. Organizations unable to upgrade immediately should implement protocol-level mitigations if their use case depends on contributory behavior-such as adding additional validation of the peer's public parameters or using alternative key agreement schemes (e.g., ECDH) that are not affected. Consult the official Mbed TLS security advisory at https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-03-ffdh-peerkey-checks/ for detailed guidance and confirmation of patched versions.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Finite-field Diffie-Hellman (FFDH) is a key agreement protocol used in cryptographic systems to establish shared secrets between two parties. Contributory behavior in FFDH ensures that both parties contribute equally to the final shared secret, preventing a malicious peer from forcing the result into a pre-determined or restricted set of values. The vulnerability stems from improper input validation of peer-supplied Diffie-Hellman parameters, allowing an attacker to provide specially crafted values that cause the computed shared secret to collapse into a small subgroup. This is a parameter validation flaw (related to CWE-347 Improper Verification of Cryptographic Signature or similar input validation weaknesses) that undermines the security assumptions of protocols depending on contributory behavior for forward secrecy or session key independence.
Know when Jwt Attack gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Primary rating from NVD.
CVSS VectorNVD
DescriptionCVE.org
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).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Jwt Attack
View allWhy is Microsoft republishing a CVE from 2013? We are republishing CVE-2013-3900 in the Security Update Guide to update
Authentication bypass in SimpleHelp 5.5.15 and prior (plus 6.0 pre-release builds) allows remote unauthenticated attacke
Authentication bypass in WSO2 API Manager and related components (Universal Gateway, Traffic Manager, API Control Plane,
Authentication bypass in Fortinet FortiOS, FortiProxy, and FortiSwitchManager allows unauthenticated remote attackers to
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS
Security feature bypass in Microsoft .NET (shipped via Visual Studio 2022 17.12/17.14 and Visual Studio 2026 18.7) lets
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS
The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT
Authentication and authorization bypass in fast-jwt 6.2.0 through 6.2.4 (npm, NearForm) lets a remote, unauthenticated a
A library injection vulnerability exists in Microsoft Teams (work or school) 24046.2813.2770.1094 for macOS. Rated criti
A library injection vulnerability exists in the WebView.app helper app of Microsoft Teams (work or school) 24046.2813.27
A library injection vulnerability exists in the com.microsoft.teams2.modulehost.app helper app of Microsoft Teams (work
Same technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-18021
GHSA-347r-37hj-5jc9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB