# JLSEC-2026-466: Mbed TLS peer can force the FFDH shared secret into a small set of values

- Severity: Critical 9.1 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-05-07T16:17:33.752Z
- Modified: 2026-07-18T00:02:04.332Z
- Related: CVE-2026-34872, GHSA-347r-37hj-5jc9, EUVD-2026-18021

## 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).

(As written by Julia Security Advisories.)

## Affected

- MbedTLS_jll (Julia): all versions

## References

- <https://github.com/advisories/GHSA-347r-37hj-5jc9> (web)
- <https://mbed-tls.readthedocs.io/en/latest/security-advisories> (web)
- <https://mbed-tls.readthedocs.io/en/latest/security-advisories/> (web)
- <https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-03-ffdh-peerkey-checks> (web)
- <https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-03-ffdh-peerkey-checks/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34872> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-466](https://osv.dev/vulnerability/JLSEC-2026-466), CC-BY-4.0, modified 2026-07-18

---

Page: https://cve.day/JLSEC-2026-466 · Whole record: https://cve.day/JLSEC-2026-466.json · Rebuilt by cve.day 2026-11-25T22:56:26.130Z
