
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34872 is a cryptographic weakness in Mbed TLS and TF-PSA-Crypto affecting finite-field Diffie-Hellman (FFDH) key agreement, where improper input validation allows an attacker to force the shared secret into a small, predictable set of values — a lack of contributory behavior. It affects Mbed TLS 3.5.x and 3.6.x through 3.6.5, and TF-PSA-Crypto 1.0. The vulnerability was published on April 1, 2026, and patches are available. It carries a CVSS v3.1 base score of 9.1 (Critical) (GitHub Advisory, Mbed TLS Advisory).
The root cause is improper input validation (CWE-347 — Improper Verification of Cryptographic Signature) during FFDH key exchange, where peer-supplied public key values are not adequately validated to ensure they contribute meaningful entropy to the shared secret. In a properly implemented FFDH exchange, both parties must contribute to the shared secret (contributory behavior); without this check, a malicious peer or man-in-the-middle attacker can supply a crafted public key value that constrains the resulting shared secret to a small, enumerable set. This attack is network-exploitable with no authentication or user interaction required. Protocols that rely on FFDH contributory behavior for their security guarantees are directly impacted, while TLS itself is noted as unaffected due to its own protocol-level protections (GitHub Advisory, Mbed TLS Advisory).
Successful exploitation allows an attacker to reduce the FFDH shared secret to a small, predictable set of values, effectively breaking the confidentiality and integrity guarantees of the key agreement. This can enable decryption of encrypted communications and tampering with message integrity in protocols that depend on contributory behavior. While TLS is explicitly noted as not impacted, other protocols using Mbed TLS's FFDH implementation for key agreement — such as custom or non-TLS cryptographic protocols — are at high risk of sensitive data exposure and integrity compromise. The attack can be carried out by a direct peer or by an active network attacker (man-in-the-middle), depending on the protocol (GitHub Advisory, Mbed TLS Advisory).
Upgrade Mbed TLS to version 3.6.6 or later, which includes fixes for improper peer key validation in FFDH exchanges. TF-PSA-Crypto 1.0 is also affected and should be updated to a patched release. As an interim measure, consider applying additional input validation at the protocol level to reject degenerate FFDH public key values, and restrict use of FFDH to protocols that do not depend on contributory behavior until patching is complete. Review the official Mbed TLS security advisory for specific patch guidance (Mbed TLS Advisory, GitHub Advisory). OpenSUSE and FreeBSD have also issued downstream security updates incorporating the fix (OpenSUSE, FreeBSD VuXML).
The vulnerability received coverage from security news aggregators and community feeds shortly after disclosure, including posts on Mastodon and Bluesky (Mastodon, Bluesky). Downstream Linux distributions including openSUSE issued security announcements incorporating the fix. Splunk also issued an advisory (SVD-2026-0512) referencing this CVE. No notable independent researcher commentary or significant media controversy has been observed beyond standard vulnerability tracking.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."