Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Vendor: OpenSSL Foundation · https://www.openssl-library.org/ · pkg:generic/openssl · Last reviewed 2026-12-05 · History

OpenSSL is the TLS library behind curl, nginx, PHP, Node.js and Python; their post-quantum support follows the OpenSSL version they build against.

Summary

  • Key agreement in TLS 1.3: the hybrid group X25519MLKEM768 is default from 3.5.0, and a client sends key shares for it and X25519 without configuration.
  • Authentication in TLS 1.3: ML-DSA signature algorithms are in the default list from 3.5.0; a server needs an ML-DSA certificate and key to use them.
  • Primitives: ML-KEM, ML-DSA and SLH-DSA are available from 3.5.0 in the default and FIPS providers.
  • Versions before 3.5 are classical unless a third-party provider is loaded.
  • Classical groups can be disabled by the application or the administrator with the Groups setting.

Set Groups = X25519MLKEM768:SecP256r1MLKEM768:SecP384r1MLKEM1024 to offer hybrid groups only; a peer supporting none of them fails the handshake.1

Cryptographic operations

TLS key agreement

From 3.5.0 the default TLS group list is:2

?*X25519MLKEM768 / ?*X25519:?secp256r1 / ?X448:?secp384r1:?secp521r1 / ?ffdhe2048:?ffdhe3072
  • The changelog: “This means two key shares (X25519MLKEM768 and X25519) will be sent by default by the TLS client.”2 Slashes separate preference tuples.
  • 3.5.0 also added the hybrid groups SecP256r1MLKEM768 and SecP384r1MLKEM1024.2
  • From 4.0.0, SecP256r1MLKEM768 and curveSM2MLKEM768 are appended to the first tuple, after X25519MLKEM768.3
  • All are hybrid; use on a connection depends on the peer supporting the group.

Client and server

  • Client: sends key shares for X25519MLKEM768 and X25519 by default; * before a group marks it for a key share (at most 4), and with no * only the leftmost group gets one.24
  • Server: takes the first tuple holding a group from the client’s key shares, otherwise a client-supported group in that tuple via Hello Retry Request; client preference is the default, SSL_OP_CIPHER_SERVER_PREFERENCE switches to server preference.4
  • Both roles read the same Groups setting: a client sends it in the supported groups extension, a server uses it to pick the group.1

TLS authentication

  • From 3.5.0: “The TLS Signature algorithms defaults now include all three ML-DSA variants as first algorithms.”2
  • RSA, ECDSA and Ed25519 remain in the default list.

Keys, signatures and certificates

  • From 3.5.0: ML-KEM (FIPS 203), ML-DSA (FIPS 204) and SLH-DSA (FIPS 205).2
  • From 3.6.0: LMS signature verification (SP 800-208) and ML-KEM in CMS.5

Versions

Change Version Date Package URL Source
ML-KEM, ML-DSA and SLH-DSA added; hybrid groups X25519MLKEM768, SecP256r1MLKEM768, SecP384r1MLKEM1024 added; X25519MLKEM768 first in the default group list; ML-DSA first in the default signature algorithms; DEFAULT keyword and - prefix in group lists 3.5.0 2025-04-08 pkg:generic/openssl@3.5.0 2
LMS signature verification; ML-KEM in CMS 3.6.0 2025-10-01 pkg:generic/openssl@3.6.0 5
SecP256r1MLKEM768 and curveSM2MLKEM768 added to the default TLS group list 4.0.0 2026-04-14 pkg:generic/openssl@4.0.0 3

Configuration

  • Enabling: nothing is needed from 3.5.0 for TLS 1.3 key agreement; TLS 1.2 does not use the hybrid groups (TLS 1.3).
  • Request one group: openssl s_client -connect example.com:443 -groups X25519MLKEM768.1
  • List supported groups: openssl list -tls1_3 -tls-groups.1
  • Disabling classical: applications call SSL_CTX_set1_groups_list(); administrators and command-line users use the Groups command or -groups.14 From 3.5.0 a list can remove groups from the default, for example DEFAULT:-X25519.2
  • This restricts key agreement only; the classical half of each hybrid group is still an elliptic curve. Certificate signatures are restricted separately with SignatureAlgorithms.1
  • Whether an application honours the system OpenSSL configuration or sets its own group list is up to the application; see each application page.

Open work

  • MLKEM512X25519 and SecP256r1MLKEM512 hybrid TLS groups are in progress: they appear in the changelog section for the release after 4.1, not yet released (checked 2026-12-05).6

Distributions

OpenSSL series shipped by distributions, checked 2026-12-05. The yes/no column is derived from the upstream series in the Versions section, not from a distribution claim; distributions can change defaults through their own configuration.

Distribution and release OpenSSL version Series has hybrid key agreement by default Notes Source
Debian 12 (bookworm) 3.0.22 no   7
Debian 13 (trixie) 3.5.10 yes No Debian policy sets Groups. 8
Debian 14 (forky), testing 3.6.5 yes Not yet a release. 9
Ubuntu 22.04 (jammy) 3.0.2 no   10
Ubuntu 24.04 (noble) 3.0.13 no   11
Ubuntu 26.04 (resolute) 3.5.5 yes   12
Ubuntu 26.10 (stonking) 4.0.3 yes   13
RHEL 10.3 3.5.9 yes crypto-policies set the groups; hybrid groups are in DEFAULT, NO-PQ removes them. Version is from AlmaLinux and Rocky. 14
RHEL 10.1 3.5 yes Same policy behaviour as 10.3. 15
RHEL 10.0 not stated not derivable Post-quantum algorithms are a Technology Preview behind TEST-PQ. 16
RHEL 9.9 3.5.9 yes crypto-policies: enable with update-crypto-policies --set DEFAULT:PQ. Version is from AlmaLinux. 17
RHEL 9.8 3.5 yes As 9.9; the 3.5 series since 9.7. 18
RHEL 9.7 3.5 yes As 9.9. 18
RHEL 8.10 1.1.1k no Version is from AlmaLinux 8. 19
Fedora 45 4.0.3 yes crypto-policies list the hybrid groups first in DEFAULT; NO-PQ removes them. 20
Fedora 44 3.5.9 yes As Fedora 45. 20
Fedora Rawhide (46) 4.0.3 yes As Fedora 45. 20
Alpine 3.22 to 3.25 and edge 3.5.10 yes All five branches. 21
Alpine 3.21 3.3.7 no End of support 2026-11-01. 21
Wolfi, rolling 3.6.5-r7 (openssl); 4.0.4-r0 (openssl-4.0) yes No numbered releases. 22
Amazon Linux 2023, 2023.12 3.5.8 yes   23
Amazon Linux 2027, preview 3.5.8 yes Preview. 24
openSUSE Tumbleweed 3.5.3 yes   25
openSUSE Leap 16.1 3.5.0 yes   25
openSUSE Leap 16.0 3.5.0 yes   25
openSUSE Leap 15.6 3.1.4 no The listing also has libopenssl1_1 1.1.1w. 25
FreeBSD 15.1 3.5.9 yes OpenSSL is in the base system. 26
FreeBSD 14.5 3.0.22 no   26
FreeBSD 14.4 3.0.22 no   26
Arch Linux 4.1.1 yes Rolling; core package. 27
Homebrew openssl@4 (alias openssl) 4.1.1 yes   28
Homebrew openssl@3 3.5.10 yes   28
Docker node:26.14.0-trixie 3.5.9 yes Node.js bundles its own OpenSSL, not the system one. 29
Docker httpd:2.4.71-trixie 3.5.x (Debian 13 package) yes Built on debian:trixie-slim with libssl-dev; version not read from the image. 30
Docker httpd:2.4.71-alpine3.24 3.5.x (Alpine 3.24 package) yes Built with openssl-dev; version not read from the image. 31
Docker php:8.6.0-cli-trixie 3.5.x (Debian 13 package) yes Built with libssl-dev and --with-openssl; version not read from the image. 32
Docker python:3.16.0a2-alpine3.24 3.5.x (Alpine 3.24 package) yes Built with openssl-dev; version not read from the image. 33

OpenBSD is not a row: its base system uses LibreSSL (4.4.0 in 8.0), see OpenBSD.34

References

  1. SSL_CONF_cmd(3), OpenSSL 3.5 documentation, -groups and Groups. https://docs.openssl.org/3.5/man3/SSL_CONF_cmd/ (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6

  2. OpenSSL changelog, “Changes between 3.4 and 3.5.0 [8 Apr 2025]”. https://github.com/openssl/openssl/blob/master/CHANGES.md#openssl-35 (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8

  3. OpenSSL changelog, “Changes between 3.6 and 4.0.0 [14 Apr 2026]”. https://github.com/openssl/openssl/blob/master/CHANGES.md#openssl-40 (accessed 2026-12-05) ↩ ↩2

  4. SSL_CTX_set1_groups_list(3), OpenSSL 3.5 documentation. https://docs.openssl.org/3.5/man3/SSL_CTX_set1_curves/ (accessed 2026-12-05) ↩ ↩2 ↩3

  5. OpenSSL changelog, “Changes between 3.5 and 3.6.0 [1 Oct 2025]”. https://github.com/openssl/openssl/blob/master/CHANGES.md#openssl-36 (accessed 2026-12-05) ↩ ↩2

  6. OpenSSL changelog, “Changes between 4.1 and 4.2 [xx XXX xxxx]”. https://github.com/openssl/openssl/blob/master/CHANGES.md (accessed 2026-12-05) ↩

  7. Debian package openssl in bookworm. https://packages.debian.org/bookworm/openssl (accessed 2026-12-05) ↩

  8. Debian package openssl in trixie. https://packages.debian.org/trixie/openssl (accessed 2026-12-05) ↩

  9. Debian Package Tracker, openssl, versions panel, testing. https://tracker.debian.org/pkg/openssl (accessed 2026-12-05) ↩

  10. Ubuntu package openssl in jammy. https://packages.ubuntu.com/jammy/openssl (accessed 2026-12-05) ↩

  11. Ubuntu package openssl in noble. https://packages.ubuntu.com/noble/openssl (accessed 2026-12-05) ↩

  12. Ubuntu package openssl in resolute. https://packages.ubuntu.com/resolute/openssl (accessed 2026-12-05) ↩

  13. Ubuntu package openssl in stonking, 4.0.3-1ubuntu1. https://packages.ubuntu.com/stonking/openssl (accessed 2026-12-05) ↩

  14. AlmaLinux 10.3 and Rocky Linux 10 package listings. https://repo.almalinux.org/almalinux/10.3/BaseOS/x86_64/os/Packages/ and https://dl.rockylinux.org/pub/rocky/10/BaseOS/x86_64/os/Packages/o/ (accessed 2026-12-05) ↩

  15. Red Hat Enterprise Linux 10.1 release notes, Security, “OpenSSL 3.5 uses standard format for ML-KEM and ML-DSA”. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/whats_new-rhel_10_1_new_features_and_enhancements_security (accessed 2026-12-05) ↩

  16. Red Hat Enterprise Linux 10.0 release notes, Security, new features. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/whats_new-rhel_10_0_new_features_and_enhancements_security (accessed 2026-12-05) ↩

  17. AlmaLinux 9.9 BaseOS package listing. https://repo.almalinux.org/almalinux/9.9/BaseOS/x86_64/os/Packages/ (accessed 2026-12-05) ↩

  18. Red Hat Enterprise Linux 9.7 release notes, “OpenSSL rebased to 3.5”. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.7_release_notes/new-features (accessed 2026-12-05) ↩ ↩2

  19. AlmaLinux 8 BaseOS package listing. https://repo.almalinux.org/almalinux/8/BaseOS/x86_64/os/Packages/ (accessed 2026-12-05) ↩

  20. Fedora Bodhi, newest stable openssl updates on F44, F45 and F46 (openssl-3.5.9-1.fc44, openssl-4.0.3-1.fc45, openssl-4.0.3-1.fc46). https://bodhi.fedoraproject.org/updates/?packages=openssl&releases=F45&status=stable (accessed 2026-12-05); same query with releases=F44 and F46 ↩ ↩2 ↩3

  21. Alpine package database, openssl, branches v3.21 to v3.25 and edge. https://pkgs.alpinelinux.org/packages?name=openssl&branch=v3.25&arch=x86_64 (accessed 2026-12-05); same query with the other branch names ↩ ↩2

  22. Wolfi package index, x86_64. https://packages.wolfi.dev/os/x86_64/APKINDEX.tar.gz (accessed 2026-12-05) ↩

  23. Amazon Linux 2023 release notes, 2023.12.20261204, openssl-3.5.8-1.amzn2023.0.5. https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.12.20261204.md (accessed 2026-12-05) ↩

  24. Amazon Linux 2027 release notes, preview 2027.0.20261204, openssl-3.5.8-5.amzn2027. https://docs.aws.amazon.com/linux/al2027/release-notes/relnotes-2027.0.20261204.md (accessed 2026-12-05) ↩

  25. openSUSE repository listings, openssl-3 rpm. https://download.opensuse.org/tumbleweed/repo/oss/x86_64/ , https://download.opensuse.org/distribution/leap/16.1/repo/oss/x86_64/ , https://download.opensuse.org/distribution/leap/16.0/repo/oss/x86_64/ , https://download.opensuse.org/distribution/leap/15.6/repo/oss/x86_64/ (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4

  26. FreeBSD source mirror, crypto/openssl/VERSION.dat on releng/15.1 at 3eb35a5, releng/14.5 at 6883ae7 and releng/14.4 at e827cf5. https://github.com/freebsd/freebsd-src/blob/3eb35a58c777061124012cd868fda7e47771c022/crypto/openssl/VERSION.dat (accessed 2026-12-05); same path at the other two commits ↩ ↩2 ↩3

  27. Arch Linux package openssl, core, 4.1.1-1. https://archlinux.org/packages/core/x86_64/openssl/ (accessed 2026-12-05) ↩

  28. Homebrew formulae openssl@4 and openssl@3. https://formulae.brew.sh/api/formula/openssl@4.json and https://formulae.brew.sh/api/formula/openssl@3.json (accessed 2026-12-05) ↩ ↩2

  29. Docker official image node 26/trixie at commit 124c150 of nodejs/docker-node, which downloads Node.js 26.14.0 from nodejs.org. https://github.com/nodejs/docker-node/blob/124c15078a1583bc7507428f416af056abb0ee2b/26/trixie/Dockerfile ; bundled OpenSSL, deps/openssl/openssl/VERSION.dat at tag v26.14.0. https://github.com/nodejs/node/blob/v26.14.0/deps/openssl/openssl/VERSION.dat (accessed 2026-12-05) ↩

  30. Docker official image httpd 2.4 Dockerfile at commit 45703a2. https://github.com/docker-library/httpd/blob/45703a26c13a9fee3022a5e91ce0cbe8de9898e5/2.4/Dockerfile (accessed 2026-12-05) ↩

  31. Docker official image httpd 2.4/alpine Dockerfile at commit 45703a2. https://github.com/docker-library/httpd/blob/45703a26c13a9fee3022a5e91ce0cbe8de9898e5/2.4/alpine/Dockerfile (accessed 2026-12-05) ↩

  32. Docker official image php 8.6/trixie/cli Dockerfile at commit 3b25f41. https://github.com/docker-library/php/blob/3b25f4162a9bd144d3f447d03cb8fe16c0d2c9cc/8.6/trixie/cli/Dockerfile (accessed 2026-12-05) ↩

  33. Docker official image python 3.16-rc/alpine3.24 Dockerfile at commit 3a144d7. https://github.com/docker-library/python/blob/3a144d79062aa1f59d2e4e99fc96aec3b5871e72/3.16-rc/alpine3.24/Dockerfile (accessed 2026-12-05) ↩

  34. OpenBSD 8.0 announcement, “LibreSSL version 4.4.0”. https://cdn.openbsd.org/pub/OpenBSD/8.0/ANNOUNCEMENT (accessed 2026-12-05) ↩


Edit: OpenSSL

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.