Vendor: OpenJDK · https://openjdk.org/ · pkg:generic/openjdk · Last reviewed 2026-12-05 · History
Summary
- The hybrid group X25519MLKEM768 is default in TLS 1.3 (most preferred, with a client key share) from JDK 27 and from the 25.0.5 update.1234
- The same change is committed for 21.0.14, not released as of 2026-12-05; 21.0.13 and earlier do not have it.56
- SecP256r1MLKEM768 and SecP384r1MLKEM1024 are available, not default.1
- ML-KEM and ML-DSA APIs arrived in JDK 24 and were backported to 21.0.13; ML-DSA in TLS 1.3 and pure ML-KEM TLS groups are fixed in JDK 28, not released; SLH-DSA is requested (open, target 29).78910111213
- Classical groups can be disabled with the
jdk.tls.namedGroupssystem property orSSLParameters.setNamedGroups.3
To restrict key exchange groups, set
-Djdk.tls.namedGroups="X25519MLKEM768,SecP256r1MLKEM768,SecP384r1MLKEM1024".3
JDK 28 general availability is scheduled for 2027-03-09, with ML-DSA in TLS 1.3 and pure ML-KEM TLS groups.141113
Cryptographic operations
- TLS 1.3 key agreement (JSSE, client and server; hybrid, not pure): JEP 527 defines
X25519MLKEM768,SecP256r1MLKEM768andSecP384r1MLKEM1024.1 Group names are in the Standard Algorithm Names spec.15 - Default list:
X25519MLKEM768,x25519,secp256r1,secp384r1,secp521r1,x448,ffdhe2048,ffdhe3072,ffdhe4096; key shares forX25519MLKEM768andx25519. The JDK 27 guide’s handshake listing also hasffdhe6144andffdhe8192.13 - The other two hybrid groups “are not enabled by default”.1 JEP 527: “It is not a goal to implement non-hybrid key exchange schemes for TLS that use ML-KEM”.1
- TLS authentication: ML-DSA in TLS 1.3 is in no release (checked 2026-12-05); the ML-DSA JEP lists TLS as out of scope.8 Signature schemes
mldsa44,mldsa65,mldsa87are fixed in JDK 28; JAR signing with ML-DSA in JDK 26.161112 - Signing and KEM APIs (JDK 24):
KeyPairGenerator,KEM,KeyFactoryfor ML-KEM-512, -768, -10247;KeyPairGenerator,Signature,KeyFactoryfor ML-DSA-44, -65, -878. They do not change what TLS negotiates. Pre-Hash ML-DSA and context strings are excluded from the first release.8
Versions
| Change | Version | Date | Package URL | Source |
|---|---|---|---|---|
ML-KEM KeyPairGenerator, KEM, KeyFactory (JEP 496) |
24 | 2025-03-18 | pkg:generic/openjdk@24 |
717 |
ML-DSA KeyPairGenerator, Signature, KeyFactory (JEP 497) |
24 | 2025-03-18 | pkg:generic/openjdk@24 |
817 |
| JAR files signed with ML-DSA | 26 | 2026-03-17 | pkg:generic/openjdk@26 |
1614 |
| ML-KEM and ML-DSA backported (JEP 496, JEP 497) | 21.0.13 | 2026-10-20 | pkg:generic/openjdk@21.0.13 |
9 |
Hybrid TLS 1.3 key exchange, X25519MLKEM768 default (JEP 527) |
25.0.5 | 2026-10-20 | pkg:generic/openjdk@25.0.5 |
418 |
Hybrid TLS 1.3 key exchange, X25519MLKEM768 default (JEP 527) |
27 | 2026-09-15 | pkg:generic/openjdk@27 |
123 |
| Hybrid TLS 1.3 key exchange backport | 21.0.14 | not released | pkg:generic/openjdk@21.0.14 |
56 |
| ML-DSA in TLS 1.3; pure ML-KEM TLS groups | 28 | due 2027-03-09 | pkg:generic/openjdk@28 |
111319 |
- JDK 25 reached general availability on 2025-09-16.20 Oracle’s 25.0.5 note: “The X25519MLKEM768 group is enabled by default and is the most preferred group. This feature works out of the box.”4 Temurin published 25.0.5+8 on 2026-10-22.21
- The JDK 25 guide mentions
X25519MLKEM768only as an example value ofjdk.tls.namedGroups.22
Configuration
Enabling PQC
Nothing needed on JDK 27 and 25.0.5 or later; X25519MLKEM768 is first in the default list.34 The JDK 27 guide’s example prefers two classical groups and adds SecP256r1MLKEM768:3
params.setNamedGroups(new String[] {
"secp256r1", "x25519", "X25519MLKEM768", "SecP256r1MLKEM768" });
Check the negotiated group with -Djavax.net.debug=ssl:handshake and look for "named group": X25519MLKEM768 in the ServerHello key_share.34
Disabling classical algorithms
jdk.tls.namedGroups“contains a comma-separated list within quotation marks of enabled named groups in preference order”; if undefined or empty, the defaults apply.3
-Djdk.tls.namedGroups="X25519MLKEM768,SecP256r1MLKEM768,SecP384r1MLKEM1024"
- An application sets the same list per connection with
SSLParameters.setNamedGroups(String[]).3 - A peer supporting none of the listed groups cannot complete a TLS 1.3 key exchange; the effect on TLS 1.2 is not documented in the pages fetched (2026-12-05).
- The property is also documented in the JDK 21 and 25 guides.2322 Unsupported names are not documented to raise an error; JBS “SSLParameters.setNamedGroups() silently ignores unsupported named groups; no error, no detection API” was closed as a duplicate.24
jdk.tls.disabledAlgorithmsinjava.securityalso applies to “named groups selection”, and “Disabled algorithms will not be negotiated for SSL/TLS connections, even if they are enabled explicitly in an application.”25jdk.disabled.namedCurvesentries can be included; the 25.0.5 file lists no ML-KEM group names.25
Vendor commitments
None found. JEP 527 says “We may implement pure ML-KEM schemes in future work”, which is not a commitment.1
Open work
All checked 2026-12-05 in JBS.
- Pure ML-KEM TLS 1.3 groups
MLKEM512,MLKEM768,MLKEM1024: fixed in JDK 28, not released; “The groups are not enabled by default.”13 Backport CSR for 17, 21 and 25 approved.19 - ML-DSA in TLS 1.3 (
mldsa44,mldsa65,mldsa87): fixed in JDK 28.1112 - SLH-DSA: “SLH-DSA post-quantum signature algorithm” open, target 29.10
- Composite ML-DSA in CMS (RFC 10082) and for X509 PKI (RFC 10073): open, target 29.26
- ML-DSA pre-hash mode, context string and external-mu API: in progress, target 29.27
References
-
JEP 527: Post-Quantum Hybrid Key Exchange for TLS 1.3 (Release 27, Closed / Delivered). https://openjdk.org/jeps/527 (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
-
JDK 27 project page: “JDK 27 reached General Availability on 15 September 2026”; lists JEP 527. https://openjdk.org/projects/jdk/27/ (accessed 2026-12-05) ↩ ↩2
-
Java SE 27 JSSE Reference Guide, “Customizing the Supported Named Groups for TLS/DTLS Key Exchange”. https://docs.oracle.com/en/java/javase/27/security/java-secure-socket-extension-jsse-reference-guide.html (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
-
Oracle JDK 25.0.5 release notes, 2026-10-20, “Post-Quantum Hybrid Key Exchange for TLS 1.3”. https://www.oracle.com/java/technologies/javase/25-0-5-relnotes.html (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5
-
openjdk/jdk21u commit 198fb99, “8314323: Implement JEP 527: TLS 1.3 Hybrid Key Exchange”, 2026-11-13. https://github.com/openjdk/jdk21u/commit/198fb990321e2ab8be9c4f3715812f805cf44556 (accessed 2026-12-05) ↩ ↩2
-
JBS JDK-8397354, backport, fix version 21.0.14. https://bugs.openjdk.org/browse/JDK-8397354 (accessed 2026-12-05); Oracle 21 update release notes index, latest listed 21.0.13.1. https://www.oracle.com/java/technologies/javase/21u-relnotes.html (accessed 2026-12-05) ↩ ↩2
-
JEP 496: Quantum-Resistant Module-Lattice-Based Key Encapsulation Mechanism (Release 24, Closed / Delivered). https://openjdk.org/jeps/496 (accessed 2026-12-05) ↩ ↩2 ↩3
-
JEP 497: Quantum-Resistant Module-Lattice-Based Digital Signature Algorithm (Release 24, Closed / Delivered). https://openjdk.org/jeps/497 (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5
-
Oracle JDK 21.0.13 release notes, 2026-10-20; bug list includes JDK-8298390 (JEP 496) and JDK-8298387 (JEP 497). https://www.oracle.com/java/technologies/javase/21-0-13-relnotes.html (accessed 2026-12-05) ↩ ↩2
-
JBS JDK-8298389, “SLH-DSA post-quantum signature algorithm”, open, fix version 29. https://bugs.openjdk.org/browse/JDK-8298389 (accessed 2026-12-05) ↩ ↩2
-
JBS JDK-8381641, “ML-DSA in TLS 1.3”, resolved, fix version 28. https://bugs.openjdk.org/browse/JDK-8381641 (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5
-
JBS JDK-8391166, CSR “ML-DSA in TLS 1.3”, approved. https://bugs.openjdk.org/browse/JDK-8391166 (accessed 2026-12-05) ↩ ↩2 ↩3
-
JBS JDK-8398874, release note “Post-Quantum ML-KEM Key Exchange for TLS 1.3”; JDK-8371736, “Implement ML-KEM Named Groups for TLS 1.3”, fix version 28. https://bugs.openjdk.org/browse/JDK-8398874 (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4
-
JDK 26 project page, general availability 2026/03/17; JDK 28 project page, rampdown phase one, general availability 2027/03/09. https://openjdk.org/projects/jdk/26/ and https://openjdk.org/projects/jdk/28/ (accessed 2026-12-05) ↩ ↩2
-
Java Security Standard Algorithm Names, JDK 27, “Named Groups”. https://docs.oracle.com/en/java/javase/27/docs/specs/security/standard-names.html (accessed 2026-12-05) ↩
-
JBS JDK-8349732, “Add support for JARs signed with ML-DSA”, fix version 26. https://bugs.openjdk.org/browse/JDK-8349732 (accessed 2026-12-05) ↩ ↩2
-
JDK 24 project page, general availability 2025/03/18, lists JEP 496 and JEP 497. https://openjdk.org/projects/jdk/24/ (accessed 2026-12-05) ↩ ↩2
-
openjdk/jdk25u commit 83e90e7, “8314323: Implement JEP 527: TLS 1.3 Hybrid Key Exchange”, 2026-08-03, contained in tag jdk-25.0.5-ga. https://github.com/openjdk/jdk25u/commit/83e90e7d76e9ca804384d47a4d529e91f79d8981 (accessed 2026-12-05) ↩
-
JBS JDK-8396111, CSR “Implement ML-KEM Named Groups for TLS 1.3”, approved for 8, 11, 17, 21, 25 pools and 28. https://bugs.openjdk.org/browse/JDK-8396111 (accessed 2026-12-05) ↩ ↩2
-
JDK 25 project page, general availability 2025/09/16. https://openjdk.org/projects/jdk/25/ (accessed 2026-12-05) ↩
-
Adoptium Temurin 25 binaries releases, jdk-25.0.5+8 published 2026-10-22. https://github.com/adoptium/temurin25-binaries/releases (accessed 2026-12-05) ↩
-
Java SE 25 JSSE Reference Guide,
jdk.tls.namedGroups. https://docs.oracle.com/en/java/javase/25/security/java-secure-socket-extension-jsse-reference-guide.html (accessed 2026-12-05) ↩ ↩2 -
Java SE 21 JSSE Reference Guide,
jdk.tls.namedGroups. https://docs.oracle.com/en/java/javase/21/security/java-secure-socket-extension-jsse-reference-guide.html (accessed 2026-12-05) ↩ -
JBS JDK-8389911, “SSLParameters.setNamedGroups() silently ignores unsupported named groups; no error, no detection API; persists in JDK 27-ea after JEP 527”, closed as duplicate. https://bugs.openjdk.org/browse/JDK-8389911 (accessed 2026-12-05) ↩
-
java.securityat openjdk/jdk25u commit fda2314 (tag jdk-25.0.5-ga),jdk.tls.disabledAlgorithmsandjdk.disabled.namedCurves. https://github.com/openjdk/jdk25u/blob/fda231468e56663992785ec199a6efb8eca3cc7a/src/java.base/share/conf/security/java.security (accessed 2026-12-05) ↩ ↩2 -
JBS JDK-8396905 (composite ML-DSA in CMS) and JDK-8371797 (composite ML-DSA for X.509), open, fix version 29. https://bugs.openjdk.org/browse/JDK-8396905 (accessed 2026-12-05) ↩
-
JBS JDK-8351351 and JDK-8381859, ML-DSA pre-hash mode, context string and external-mu API, in progress, fix version 29. https://bugs.openjdk.org/browse/JDK-8351351 (accessed 2026-12-05) ↩