Security/Case study

Hybrid by default is not CNSA 2.0: Ubuntu 26.04 and RHEL 10

Ubuntu 26.04 and RHEL 10 ship post-quantum TLS by default, but with ML-KEM-768 hybrids, not the NSA's ML-KEM-1024. Here is how to close the gap.

A vault door with a small brass lock fitted and a larger replacement lock waiting on a workbench.

NSA’s CNSA 2.0 asks for ML-KEM-1024 and ML-DSA-87. Ubuntu 26.04 LTS and RHEL 10 both ship post-quantum key exchange switched on, yet both default to a 768-bit hybrid. That is a good default for most estates, but it is not the NSA’s parameter set. This post covers where the gap is, how to close the TLS part of it, and where the work gets harder (FIPS, PKI and bundled crypto).

Scope first

CNSA 2.0 is not a universal requirement. NSA’s advisory of 2 December, Immediate Actions to Push Toward Post-Quantum (PP-26-4956), is addressed to owners, operators and vendors of National Security Systems (NSS). The CNSA 2.0 FAQ is blunt about everyone else: NSA “does not mandate requirements on any other entity outside of NSS”.

If you are not in that population, CNSA 2.0 is still a useful, conservative target. It is a benchmark, not an obligation. If you sell into NSS, it is close to one: the FAQ says commercial products there will generally need CNSA 2.0 compliance, as the same tracker reports.

What CNSA 2.0 asks for

According to the CNSA 2.0 FAQ, version 2.2, as reported by a timeline tracker:

  • Key establishment: ML-KEM-1024 (FIPS 203), for all classification levels.
  • Signatures: ML-DSA-87 (FIPS 204), for all classification levels.
  • Symmetric and hashing: AES-256 and SHA-384 or SHA-512.
  • Not approved: SLH-DSA is “not approved for any use in NSS”, and HashML-DSA is not allowed “at the present time”.

The SLH-DSA exclusion matters here, because OpenSSL 3.5 and Ubuntu’s release notes list it as a feature. It is available, but it is not your CNSA route.

The dates need care. The same tracker reports that CNSSP 15 requires CNSA 2.0 in all new NSS acquisitions from 1 January 2027, phases out non-supporting equipment by 31 December 2030, and mandates use by 31 December 2031. The 2022 advisory’s per-equipment “exclusively use” years run to 2033. Work to the policy dates, and check the FAQ for the current position.

The advisory’s six actions are, in summary: inventory your cryptography, move servers to TLS 1.3 with approved post-quantum or hybrid key-exchange profiles, stand up PQC-capable certificate authorities, reissue certificates and re-sign firmware, apply vendor updates that disable legacy defaults, and isolate what cannot be upgraded. Hybrids are an accepted interim step. The FAQ’s footnote adds that even where hybrids are allowed, CNSA 2.0 algorithms will become mandatory to select at the given date.

The defaults are post-quantum, not CNSA

Ubuntu. Canonical’s own write-up says servers on 25.10 or the then-upcoming 26.04 LTS use X25519MLKEM768 by default, and that Ubuntu deliberately kept hybrid as the default. It also said a system-wide profile for PQ-only configurations would follow. Ubuntu 24.04, by contrast, negotiates plain X25519 in the same test.

RHEL. Red Hat’s page says that from RHEL 10.1 the DEFAULT crypto policy prefers hybrid key exchange, and lists the TLS algorithm as x25519 plus ML-KEM-768.

OpenSSL. OpenSSL 3.5 lists MLKEM512, MLKEM768 and MLKEM1024 as TLS groups, plus the hybrids X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024. A maintainer notes that OpenSSL 3.5 offers an X25519MLKEM768 key share by default unless you override the group configuration. So the 1024-bit parameter sets are present in the library but not selected.

Closing the TLS gap

The lever is the Groups setting. OpenSSL’s documentation says it is a colon-separated list in order of preference, and that the first group listed is used for the client’s TLS 1.3 key share. You can set it system-wide in openssl.cnf (find the file with openssl version -d) or per application. The system-wide pattern is:

[ssl_module]
system_default = tls_system_default

[tls_system_default]
Groups = MLKEM1024

Per application, nginx and Apache pass the same list through:

ssl_conf_command Groups MLKEM1024;
SSLOpenSSLConfCmd Groups MLKEM1024

Check what you have with openssl list -tls1_3 -tls-groups, then confirm what is actually negotiated with openssl s_client -groups MLKEM1024 -connect host:443.

Three cautions before you roll this out:

  1. Pure versus hybrid is a real decision. The pure MLKEM1024 group and the SecP384r1MLKEM1024 hybrid are both in OpenSSL 3.5. Which one your assessor accepts depends on NSA’s TLS profile for your use case, so settle that before you standardise.
  2. Pure groups break against hybrid-only peers. In one test, -groups MLKEM768 against Google failed with a handshake alert because Google offers only the hybrid. Expect the same shape of failure with any peer that has not enabled your group.
  3. Bigger messages, more breakage. OpenSSL notes that SecP384r1MLKEM1024’s key exchange messages are close to 1700 bytes, against roughly 1200 for the other hybrids, and it is more CPU-intensive. Canonical’s LXD team found that Go’s larger ClientHello exposed broken middleboxes, and disabled the new curves for image-server connections. Test through your real network path.

SSH: key exchange yes, signatures no

Ubuntu 26.04 ships OpenSSH 10.2, whose release notes describe the hybrid mlkem768x25519-sha256 as available by default. According to SSD Nodes, 10.2 has no post-quantum signature type, so host and user keys remain classical. ML-DSA-87 for SSH is therefore not something you can deploy on the LTS today.

RHEL is further along on key exchange. Red Hat’s patched OpenSSH 10.2 adds mlkem1024nistp384-sha384 for FIPS-mode SSH, although upstream OpenSSH decided not to implement it. Red Hat does not claim CNSA compliance for it, so do not assume it. On signatures, Red Hat says ML-DSA in SSH is being discussed at the IETF, with several competing drafts.

Upgrade or patch

The evidence points one way for Ubuntu. Ubuntu 24.04 ships OpenSSL 3.0, which does not include ML-KEM. Canonical’s only stated backport intention was for the SSH key exchange, and it was conditional. If your plan needs OpenSSL-level ML-KEM-1024, plan the move to 26.04. According to Ubuntu.fan’s summary of the release notes, upgrades from 24.04 LTS were enabled on 29 September 2026, and standard support for 26.04 runs to May 2031. Against that, the policy phase-out for non-supporting equipment is 31 December 2030.

RHEL is more nuanced, and “RHEL 10” is not one target. Red Hat’s page shows RHEL 9.7 and later offer opt-in via DEFAULT:PQ, while 10.1 made hybrid the default. The 10.2 minor release then added libssh defaults, FIPS-mode SSH hybrids and PQC for IPsec IKEv2 key exchange. Pin your fleet to a minor version and test against that.

The FIPS caveat

Of everything here, this is the part most likely to block a compliant deployment. Red Hat states that PQC primitives are not yet validated under the FIPS provider, and that FIPS 140-3 validation is in progress. Strict FIPS mode restricts operations to classical algorithms or specific certified hybrids, such as Secp256r1MLKEM768. Red Hat’s wording is that customers needing strict compliance must currently choose between FIPS compliance and PQC.

NSA’s press release also tells buyers to prioritise appropriately validated products. So a configuration that negotiates ML-KEM-1024 on a non-validated provider is a technical success and possibly a compliance gap. For Ubuntu, ask Canonical which of its modules are validated and whether ML-KEM is in scope. For RHEL, track Red Hat’s validation status before you commit a date.

The PKI gap

The NSA asks for certificate authorities and trust roots that can handle the new algorithms, and for reissuing certificates that rely on deprecated ones. The tooling exists, but the ecosystem does not yet. On RHEL, OpenSSL 3.5, GnuTLS and NSS support ML-DSA certificates, but no public CA currently offers PQC. Private CAs and self-signed ML-DSA certificates work. That fits NSS, which runs its own PKI, and fits few other organisations.

The same Red Hat page shows how uneven the signature side still is:

Check what your ML-DSA-capable build exposes with openssl list -signature-algorithms | grep -i ml-dsa, and make ML-DSA-87 the only parameter set your new CA issues.

Applications that bring their own crypto

System-wide settings only help software that uses the system library. Several pieces do not:

This is where the first NSA action, the inventory, earns its place. NSA’s list covers TLS, IPsec, SSH, PKI and code signing, and containers and vendored libraries need to be in it too.

Keep it replaceable

NSA also asks for systems that can change algorithms again later, with enough processing power and memory to do so. The advisory’s AI context is less settled. A joint statement from NSA, CISA and the White House said the recent disclosures do not present an immediate and widespread threat. Archyde, citing Cybersecurity News, reports that the advisory does not name affected systems or claim that approved post-quantum algorithms are broken. The practical reading is to avoid hard-coding group names and parameter sets where a policy or config file can carry them.

What to do next

  1. Decide whether CNSA 2.0 binds you (NSS, or vendor to NSS) or is simply your benchmark.
  2. Inventory every place cryptography is negotiated, including bundled stacks.
  3. On a test host, set Groups to the 1024-bit options and measure handshake failures and latency through your real network path.
  4. Settle pure versus hybrid against NSA’s profile for your use case.
  5. Ask your OS vendor, in writing, when ML-KEM-1024 and ML-DSA-87 will be inside a validated module.
  6. Stand up an ML-DSA-87 private CA in a lab, and find out which of your clients can verify it.

Treat the default hybrid as a good interim state, not as the finish line.

Create your amazing blog on bloggy.space

Report abuse