PQC Library Readiness: OpenSSL 3.5, Go and Java Support for ML-KEM and ML-DSA
How to check whether OpenSSL, Go, Java and bundled dependencies support ML-KEM and ML-DSA, and plan upgrades without breaking production.
PQC Library Readiness: OpenSSL 3.5, Go and Java Support for ML-KEM and ML-DSA
Most post-quantum migration plans start with policy and inventory. The first hard engineering obstacle usually appears a little later: the cryptographic library or runtime that a service depends on does not support the new algorithms, or supports them only in a version nobody is allowed to deploy.
NIST published FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) in August 2024. Since then the major open-source libraries and language runtimes have added implementations. This article explains how to establish what your estate can actually use today, where support is lost between a library release and a running workload, and how to sequence upgrades so that they are routine changes rather than emergencies.
Support changes with each release. Treat the version details below as a starting point and confirm them against current release notes before you commit to a plan.
Why library readiness comes before algorithm choice
Choosing between ML-KEM-768 and ML-KEM-1024, or between ML-DSA and SLH-DSA, is a design decision. It only matters if your platform can execute the choice. Three practical facts make library readiness a gating item.
- Key establishment is the near-term priority. Data with a long confidentiality life is exposed to harvest-now, decrypt-later collection, so key establishment in TLS, SSH and VPNs is addressed first. That work depends on the TLS stack in each runtime.
- Upgrade cycles are slow. A language runtime or system library on a long-term-support track may be updated once or twice a year in regulated environments, and sometimes less often. Your migration timeline inherits that cadence.
- Library support is uneven. A runtime may offer the raw algorithm in an API well before its TLS client negotiates a hybrid group. These are separate features, delivered at different times.
NIST SP 800-227, the recommendations for key-encapsulation mechanisms, describes how KEMs should be used safely. It is a useful reference when reviewing how a library exposes encapsulation and decapsulation, because misuse at the API layer is a realistic failure mode.
What the major runtimes offer
OpenSSL 3.5
OpenSSL 3.5, released in April 2025 as a long-term-support version, added ML-KEM, ML-DSA and SLH-DSA to the default provider. Its TLS 1.3 defaults offer a hybrid X25519MLKEM768 key share alongside classical X25519. Many other components depend on OpenSSL, including Python's standard ssl module on most Linux distributions, numerous web servers and many language bindings, so this single release determines a great deal of your estate's capability.
OpenSSL 3.0 is an earlier long-term-support line with a published end-of-life date in 2026. Check the OpenSSL release policy for exact dates. Estates still on 3.0 face a supported-version deadline and a post-quantum capability gap at once, which makes a combined upgrade easier to justify.
Go
Go 1.24 introduced the crypto/mlkem package implementing FIPS 203 and enabled X25519MLKEM768 by default in crypto/tls, replacing the earlier draft Kyber-based group that Go 1.23 had enabled. For a Go service, recompiling with a current toolchain is often the whole change needed for hybrid key exchange. Check the current release notes for the status of signature support, which has followed a different timetable from key exchange.
Java
JDK 24 delivered JEP 496 (ML-KEM) and JEP 497 (ML-DSA) as standard API implementations. These carry forward into later releases, including the 25 long-term-support release, but not back into 21. Estates that standardise on an older LTS line therefore need either a runtime upgrade or a supported third-party provider such as Bouncy Castle. Treat hybrid key exchange in the JDK's TLS stack as a separate question from the algorithm APIs, and check the specific release you run.
Research libraries such as liboqs
The Open Quantum Safe project's liboqs is widely used for interoperability testing and prototypes. Its own documentation positions it for prototyping and experimentation rather than production. It is the right tool for a lab and a poor choice as a silent dependency in a production build.
Comparison
| Library or runtime | Algorithm APIs (FIPS 203/204/205) | Hybrid TLS key exchange | Typical blocker |
|---|---|---|---|
| OpenSSL 3.5 | ML-KEM, ML-DSA, SLH-DSA | Default key share includes X25519MLKEM768 | Estates still on 3.0 or earlier, or bundled copies |
| Go 1.24 and later | crypto/mlkem; check notes for signatures |
X25519MLKEM768 on by default in crypto/tls |
Old toolchains in CI images |
| JDK 24 and later | ML-KEM (JEP 496), ML-DSA (JEP 497) | Verify per release | Estates pinned to the 21 LTS line |
| liboqs | Broad, including experimental schemes | Via integrations | Not intended for production use |
Where support is lost between release and workload
A library version on a project website is not the version running in your data centre. Support is typically lost in four places.
Bundling and static linking
Products frequently ship their own copy of a TLS library. Upgrading the operating system's OpenSSL changes nothing for those products. The same applies to statically linked Go and Rust binaries: the cryptography is whatever the toolchain provided on the day of the build. Your inventory has to record the build-time version, not only the host package list.
Container base images
A container image carries its own libraries. A fleet built from a base image that was last refreshed two years ago will keep negotiating classical key exchange regardless of what the host supports. In this context, rebuild cadence is a security control.
FIPS-validated providers
Where a regulatory requirement mandates a FIPS 140-3 validated module, you are limited to the versions that have been validated, and these usually lag the latest release. CAVP validates algorithm implementations against the standard, while CMVP validates the module as a whole. A library that implements ML-KEM in its default provider has not thereby been validated. Check the module name, version and operating environment against the NIST lists, and ask suppliers to state their validation status in writing.
Middleboxes and peers
A modern client library does nothing if a TLS-inspecting proxy, load balancer or legacy peer cannot handle the larger hybrid ClientHello. This belongs in test planning rather than library selection, but it explains why an upgrade that passes unit tests can still fail in production.
Worked example: a mixed estate
The following scenario is hypothetical. It illustrates the method and does not reflect typical proportions. An organisation runs six workload types and wants to know what blocks hybrid key exchange.
- Go API gateway, built with Go 1.22. Blocker: toolchain. Action: update the CI image to a current Go release, rebuild, and verify the negotiated group in staging.
- Java payment service on JDK 21. Blocker: runtime line. Action: plan an LTS upgrade, or evaluate a supported provider for the interim. Record the decision and a review date.
- Python batch jobs using the system
sslmodule on a host with OpenSSL 3.0. Blocker: system library. Action: schedule the operating system upgrade that brings OpenSSL 3.5, since the Python code itself needs no change. - Vendor appliance with a bundled TLS library. Blocker: supplier. Action: request the supplier's roadmap and validation status, and record the answer in the risk register.
- Container images from a two-year-old base. Blocker: rebuild cadence. Action: set a maximum base image age and automate rebuilds.
- Internal service on a statically linked binary of unknown build date. Blocker: unknown. Action: identify the build, then treat it as case 1 or case 3.
The result is a short list of distinct remediation types: toolchain bump, runtime upgrade, operating system upgrade, supplier engagement and rebuild automation. Prioritise by the confidentiality lifetime of the data each workload protects, not by ease of fix. Cheap fixes go first when they cover high-value traffic, but they should not crowd out the supplier conversations that take longest.
A readiness check you can run this quarter
- Enumerate runtimes and TLS libraries per workload. Record the language, toolchain version, linked crypto library and its version, and whether it is dynamically or statically linked.
- Scan binaries, not only package lists. Look for embedded library version strings in compiled artefacts and container layers.
- Test negotiation, not just presence. For each externally reachable service, confirm which key exchange group is actually negotiated, using a current client on a staging path.
- Mark validation requirements. Where a FIPS 140-3 module is mandatory, list the validated version and the gap to the library you would otherwise use.
- Set upgrade gates. Define a minimum supported version for each runtime and make CI fail builds that fall below it.
- Keep prototypes out of production. Add a check that experimental libraries are absent from release builds.
These steps feed directly into a cryptographic inventory and give it engineering detail that a policy-level register lacks.
Where IQCDL fits
Library readiness sits between policy and delivery, and it is where many teams discover that nobody owns the question. The IQCDL assessment helps individuals and teams establish where their understanding of post-quantum engineering currently stands. The programmes cover implementation topics such as hybrid key exchange, validation and migration sequencing, and the standards page sets out the NIST, ISO/IEC and ETSI material that the curriculum maps to.
Frequently asked questions
Does upgrading to OpenSSL 3.5 make an application post-quantum safe?
No. OpenSSL 3.5 provides ML-KEM, ML-DSA and SLH-DSA, and its TLS defaults include a hybrid key share. The application still has to link against that version, avoid pinning old group lists, and use a certificate chain that its peers can validate. Authentication in TLS generally remains classical until post-quantum certificates are deployed.
Is liboqs suitable for production systems?
The Open Quantum Safe project describes liboqs as intended for prototyping and experimentation. It is valuable for interoperability testing and learning. For production, prefer a maintained general-purpose library or platform provider, and seek a validated module where your regulatory context requires one.
If a library implements FIPS 203, is it FIPS 140-3 validated?
No. Implementing the algorithm is separate from validation. CAVP tests algorithm implementations against the standard, and CMVP validates a cryptographic module under FIPS 140-3. Check the specific module name, version and operating environment on the NIST validation lists before accepting a claim.
Which dependencies are most likely to be missed in a library audit?
Statically linked binaries, vendored copies of OpenSSL or BoringSSL inside third-party software, container base images that lag behind the host, and language runtimes pinned to older long-term-support releases. A software bill of materials rarely shows every one of these without extra scanning.