CVE-2026-34872 json
Mbed TLS peer can force the FFDH shared secret into a small set of values
published 2026-04-01 7 mo ago modified 2026-07-18 3 mo ago also EUVD-2026-18021 , GHSA-347r-37hj-5jc9 , JLSEC-2026-466
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- arm mbed_tls 3.6.6
- mbedtls Debian 13 3.6.6-0.1~deb13u1
- mbedtls Debian 14 3.6.6-0.1
debian advisories DEBIAN-CVE-2026-34872
- mbedtls openSUSE Tumbleweed 3.6.6-1.1
opensuse advisories openSUSE-SU-2026:10498-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-34872 updated cvss 7.5
mbedtls: Mbed TLS and TF-PSA-Crypto: Shared secret manipulation via improper FFDH input validation
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | MbedTLS_jll | all versions |
no fix listed |
Classification
- Weakness
-
- CWE-347 Improper Verification of Cryptographic Signature
References
-
mbed-tls.readthedocs.io
/en/latest/security-advisories/
vendor-advisory, web
-
mbed-tls.readthedocs.io
/en/latest/security-advisories/mbedtls-security-advisory-2026-03-ffdh-peerkey-checks/
mitigation, vendor-advisory, web
-
github.com
/advisories/GHSA-347r-37hj-5jc9
web
-
mbed-tls.readthedocs.io
/en/latest/security-advisories
web
-
mbed-tls.readthedocs.io
/en/latest/security-advisories/mbedtls-security-advisory-2026-03-ffdh-peerkey-checks
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-34872
web
Sources
- CVE List CVE-2026-34872
- NVD CVE-2026-34872
- OSV JLSEC-2026-466
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.