Does a LibreSSL post-quantum upgrade need new builds or dependencies?
If you run LibreSSL and need to know what a post-quantum upgrade changes, the short answer from the sources is this: LibreSSL added a public ML-KEM API in 4.2.0, and the hybrid key exchange X25519MLKEM768 is supported in libssl from that release onward. libtls prefers X25519MLKEM768 for TLSv1.3 connections from 4.4.0. The sources document no new hardware requirement and no new license obligation for this. These statements reflect the LibreSSL pages as read on 2026-12-03. The LibreSSL home page says the latest stable release is 4.4.1, released November 11th, 2026, while the releases page lists 4.4.1 and 4.4.0 both as released on October 22nd, 2026. Confirm the 4.4.1 date against the project's own source before you record it in an inventory.
For build planning, the relevant facts are these. The LibreSSL README documents no hardware requirement beyond its platform list. The COPYING file places the ISC and public domain additions alongside the OpenSSL License and Original SSLeay License on inherited code, so a license review should cover both sets of terms. The 4.4.0 CMake build now applies the same exploit-mitigation compiler and linker flags as the autotools build, so if your pipeline uses CMake, rebuild and retest rather than assume the flags carried over. The sources do not say whether the ML-KEM code adds a new external dependency. Confirm that by reading the build files of the exact version you deploy.
The practical checks are a version check, a configuration check and a cost check. Confirm which release you run, then confirm that your libtls and libssl configuration selects the intended groups. The tls_config_set_ecdhecurves() default uses X25519MLKEM768, X25519, P-256 and P-384, but the sources do not state whether a given application overrides this. To measure ML-KEM cost on your own platform, use the ML-KEM benchmarks that the openssl(1) speed command gained in 4.3.0. The 4.4.0 release notes also say reinstalls no longer overwrite cert.pem, so a manual merge may be needed during an upgrade. Plan for that merge in your change window.
Which LibreSSL release changes which post-quantum part of the build and API
This table lists LibreSSL 4.1.0 through the in-development 4.5.0 and shows which post-quantum change each release brings, covering the ML-KEM import and API, the hybrid key share, libtls defaults, CMake flag parity and ML-DSA status. Read each row against the version column to see what is in a stable release and what is still in development, and check the source before relying on any row.
| Release | Post-quantum change | Build or API effect | Source |
|---|---|---|---|
| 4.1.0 | Imports ML-KEM 768 and 1024 from BoringSSL | No public ML-KEM API exposed | LibreSSL ChangeLog |
| 4.2.0 | Adds a public ML-KEM API, not yet documented in a manpage | API may change; intended to support X25519MLKEM768 in libssl | LibreSSL 4.2.0 release notes; LibreSSL ChangeLog |
| 4.3.0 (development release) | Adds MLKEM768_X25519 keyshare in TLS | ML-KEM tests and openssl(1) speed benchmarks added | OpenBSD 7.9 release page; LibreSSL ChangeLog |
| 4.4.0 | X25519MLKEM768 becomes the preferred TLSv1.3 group in libtls | CMake build gains the same exploit-mitigation flags as autotools; reinstalls no longer overwrite cert.pem, so a manual merge may be needed | LibreSSL 4.4.0 release notes; OpenBSD 8.0 release page |
| 4.4.0 (libtls API) | Hybrid key exchange is the libtls default curve | tls_peer_cert_chain_pem() deprecated and may be removed later | LibreSSL 4.4.0 release notes; OpenBSD tls_config_set_ciphers(3) |
| 4.5.0 (in development) | Experimental ML-DSA API, based on BoringSSL code | Default SSL_OP_LEGACY_SERVER_CONNECT removed; signature algorithm limit raised to 256 | LibreSSL ChangeLog |
| Not in a stable release | ML-DSA signatures and any SLH-DSA support | Confirm with the project before planning; the ChangeLog names no SLH-DSA entry | LibreSSL ChangeLog |
What changes in the build when you move to 4.4.0
The most important build change in LibreSSL 4.4.0 is that the CMake build now applies the same exploit-mitigation compiler and linker flags as the autotools build, and it enables control flow protection for assembly. If you build from source with CMake, your hardening flags may have been different before this release, so the binaries you produce could behave differently. Before you upgrade, compare the flags your current CMake invocation passes against the autotools defaults, and record the result in your build inventory. The sources listed on this page do not say which exact flags are applied, so confirm the full set in the 4.4.0 build files rather than assuming a list.
The second change affects reinstalls. LibreSSL 4.4.0 no longer overwrites cert.pem on reinstall, and the release notes say a manual merge may be needed. If your deployment relies on the bundled cert.pem being refreshed by installation, the file will now stay as it was, so you may run with an outdated trust store. Check your cert.pem before you reinstall, note any local additions, and plan the merge as a separate step. The release also deprecates tls_peer_cert_chain_pem(), which the notes say may be removed in a future release, so any code that calls it should be found and scheduled for replacement.
The sources listed on this page do not list new external library dependencies for 4.4.0, so the change to your dependency list may be none. Treat that as a statement about what the sources say, not as proof that your build will need no other changes. Before you reinstall, diff your own build flags against the 4.4.0 build, check your cert.pem for local changes, and confirm the deprecated call sites in your code. Each of these is a check you can run now, and each takes effect in your environment only when you run it.
Which parts of a LibreSSL deployment the upgrade touches
A LibreSSL upgrade reaches more than the library itself. The default protocol and curve settings in libtls, the group list in libssl, the certificates and signatures that still rely on RSA and elliptic curves, and the verification flags in client code each shape what changes and what must be checked.
libtls default curves and protocols
In libtls, the default protocol set enables TLSv1.2 and TLSv1.3, and the default curve list is currently X25519MLKEM768, X25519, P-256 and P-384. Because LibreSSL 4.4.0 prefers X25519MLKEM768 for TLSv1.3 connections, applications built on libtls may negotiate the hybrid group without a code change. Confirm the protocol and curve settings your applications actually set, and test whether any peer that cannot handle the larger hybrid key share is affected.
tls_config_set_ciphers docslibssl group selection
Applications that call libssl directly choose key exchange groups with SSL_CTX_set1_groups() or SSL_CTX_set1_groups_list(), which take group NIDs or names in preference order. The OpenBSD page for these calls does not mention X25519MLKEM768 or the default group list, so a group list set in code overrides the libtls default and may exclude the hybrid group entirely. Review each call site and record whether it pins groups, since that decides whether a future default change reaches the application.
SSL_CTX_set1_groups docsCertificates and signatures
Certificates, TLS handshake signatures and key exchange in LibreSSL still rely on RSA and elliptic curves such as P-256, P-384 and X25519. The ML-KEM support covers key exchange only, and the ML-DSA API appears in the in-development 4.5.0 branch as experimental, so it is not in a stable release. Your certificate chains and signing keys therefore remain on classical algorithms, and the upgrade does not by itself change them.
LibreSSL releasesMeasuring ML-KEM cost with openssl speed
LibreSSL 4.3.0 added ML-KEM benchmarks to the openssl(1) speed command, which lets you measure the computational cost of the hybrid key exchange on your own hardware before rollout. Run the benchmark on the platforms that terminate TLS, since results vary by CPU and workload. Record the figures against your connection volume so capacity planning reflects measured data rather than assumptions.
openssl(1) docsVerification flags that disable checks
In libtls, tls_config_insecure_noverifycert() disables certificate verification and OCSP validation, and tls_config_insecure_noverifytime() disables validity checking. These flags can persist from earlier test setups into production code. Before and after the upgrade, search your codebase for these calls and confirm each one is intentional, since a disabled check can hide a failed handshake that the new key exchange would otherwise surface.
tls_config_verify docsWhere X25519MLKEM768 sits in a libtls TLSv1.3 handshake
The diagram starts with a client and a server negotiating TLSv1.3 through libtls. The client offers key shares for the default curve list, which the libtls documentation gives as X25519MLKEM768, X25519, P-256 and P-384, with X25519MLKEM768 listed first as the preferred group. The server selects from that list, so a LibreSSL 4.4.0 or later peer that supports the hybrid group will prefer it in the key exchange. The server's certificate path is drawn separately because it is signed with a classical key. The hybrid group protects the key exchange only, and the certificate and handshake signature remain classical in this path. Check which libtls version each peer runs and whether the server certificate uses RSA or elliptic-curve keys.
Hybrid key exchange runs first while the server certificate remains classically signed.
How the upgrade differs for libtls users, libssl users and self-built stacks
Applications that call the libtls API get their key exchange defaults from the library. The LibreSSL 4.4.0 release notes and ChangeLog say libtls uses X25519MLKEM768 as the preferred group for TLSv1.3 connections, so an application built against 4.4.0 or later prefers this hybrid key exchange without any code change. The default curve list documented for tls_config_set_ciphers() also begins with X25519MLKEM768, followed by X25519, P-256 and P-384.
- Default group change: X25519MLKEM768 is the preferred TLSv1.3 group in libtls from 4.4.0, per the release notes and ChangeLog.
- Protocol defaults:
TLS_PROTOCOLS_DEFAULTenables TLSv1.2 and TLSv1.3, and the keyworddefaultis an alias forsecure. - Cipher and curve control:
tls_config_set_ciphers()acceptssecure,compat,legacyandinsecure, andtls_config_set_ecdhecurves()withdefaultselects the curve list. - DHE stays off:
tls_config_set_dheparams()defaults tonone, which disables DHE key exchange. - Verification flags:
tls_config_insecure_noverifycert()andtls_config_insecure_noverifytime()disable checks that should stay enabled in production.
Check the libtls version your application links against, and confirm the negotiated group in a test handshake. The documentation does not say whether a particular distribution rebuilt libtls with other defaults, so confirm that with the packager.
Applications that call libssl directly do not inherit the libtls default. The OpenBSD SSL_CTX_set1_groups(3) page documents SSL_CTX_set1_groups_list(), which takes a colon separated list of group names such as P-521:P-384:P-256, and SSL_CTX_set1_groups(), which takes group NIDs in preference order. That page does not mention X25519MLKEM768 or any default group list, so the group an application negotiates depends on what the code sets. The LibreSSL 4.2.0 release notes say the ML-KEM API is intended to support X25519MLKEM768 in libssl, but the sources listed here do not show how an application enables it.
- Explicit group selection: Call
SSL_CTX_set1_groups_list()orSSL_CTX_set1_groups()to set the preference order. - No documented default: The
SSL_CTX_set1_groups(3)page does not state the default group list, so do not assume one. - ML-KEM API history: LibreSSL 4.1.0 imported ML-KEM without a public API, and 4.2.0 added a public API that its notes say is not yet documented and may change.
- Keyshare in 4.3.0: The 4.3.0 release added support for an
MLKEM768_X25519keyshare in TLS. - Measure the cost: The
openssl(1) speedcommand received ML-KEM benchmarks in 4.3.0, which can measure cost on your platform.
Test the handshake your application actually performs, because a configured group list is not proof of what a peer accepts. Confirm the exact group names your build accepts with the vendor or in the project documentation.
Organizations that build LibreSSL from source or install it from a distribution package inherit the version that build or package carries. Behavior changes with the release, so the version on the host determines which defaults apply. The sources listed here do not say which distributions ship which LibreSSL version, so the packaged version must be confirmed with each distribution.
- Version controls everything: The 4.4.0 libtls default applies only to builds at 4.4.0 or later, so confirm the exact version on each host.
- Build flags: The 4.4.0 CMake build applies the same exploit-mitigation flags as the autotools build and enables control flow protection for assembly.
- Config file handling: Reinstalls no longer overwrite
cert.pemin 4.4.0, so the release notes say a manual merge may be needed. - Stable branch support: Stable branches are updated for one year after the matching OpenBSD branch is tagged, and new stable branches follow about every six months.
- Development items in 4.5.0: The in-development 4.5.0 lists an experimental ML-DSA API based on BoringSSL code and removes
SSL_OP_LEGACY_SERVER_CONNECTfrom the defaults, but these are not in a stable release as of this writing.
Before planning a self-built rollout, record the release tag, the build options and the packaged version on every host, and confirm the packaged version with your distribution's maintainers.
Steps to plan and verify a LibreSSL post-quantum upgrade
This sequence turns a general interest in post-quantum support into a dated, checked record of which LibreSSL version you run, which applications depend on it, and which key exchange group a test handshake actually negotiates. Each step ends with a check you can file as evidence before any change reaches production.
Confirm the installed LibreSSL version
Run the version check on each host or build that ships LibreSSL, then compare the result against the releases page at libressl.org/releases.html. Record the exact version string, the source it came from (OS package, OpenBSD base, or a portable build), and the date you read the page. Note that the home page and the releases page disagree on the release date of 4.4.1 and 4.4.0, so cite the version number rather than the date. The step closes when every host has a version recorded against a release entry.
Inventory which applications call libtls or libssl
Search your builds and deployed binaries for linkage to libtls and to libssl, and list each application with the library it uses. The two interfaces expose different controls, so an application on libtls inherits the libtls defaults while one on libssl sets its own group list. Owners of each application should confirm the linkage in their own build records. The step closes with a table mapping every application to libtls or libssl and to a named owner.
Set or pin the key exchange group where needed
For libtls applications, the default curve list currently places X25519MLKEM768 first, so check whether that default is acceptable or whether a configuration call such as tls_config_set_ecdhecurves() is needed to change it. For libssl applications, SSL_CTX_set1_groups_list() accepts a colon separated list, and the OpenBSD page for it does not mention X25519MLKEM768, so confirm the group names your build accepts before writing them in. Record every pinned value with its reason. The step closes when each application's intended group list is written down and reviewed by its owner.
Measure ML-KEM cost on target hardware
Run the openssl(1) speed command on representative target hardware to measure the cost of the ML-KEM operations, since LibreSSL 4.3.0 added ML-KEM benchmarks to that command. Run it on the hardware class each service actually uses, not only on a developer laptop, and keep the raw output with the host identifier and LibreSSL version. Compare the results with your latency and CPU budget for the service. The step closes with a saved benchmark file per hardware class, marked with the date it was run.
Check cert.pem before any reinstall
Before reinstalling LibreSSL, back up the current cert.pem file and compare it with the new release's copy. The 4.4.0 release notes state that reinstalls no longer overwrite cert.pem, so a manual merge may be needed to keep local trust anchors and add new ones. Also check whether your code calls tls_peer_cert_chain_pem(), which 4.4.0 deprecated and which the notes say may be removed later. The step closes when the backup exists, the diff is reviewed, and the merge outcome is recorded for each host.
Confirm the chosen group in a test handshake
Run a test handshake from a client to each upgraded service, and capture which key exchange group was negotiated, instead of assuming it from the configuration. Use a client built against the same LibreSSL version, and repeat the test from a second client type so a single client's behavior does not stand in for the rest. Compare the negotiated group with the intended value from the pinning step. The step closes when the captured results match the intended groups, and any mismatch is logged and traced to its cause before rollout.
Common questions about LibreSSL post-quantum upgrades
Is LibreSSL quantum safe?
No product can be certified as quantum safe on the basis of the sources listed here, and LibreSSL does not make that claim itself. What the sources support is narrower: LibreSSL 4.1.0 imported ML-KEM 768 and 1024 from BoringSSL, and LibreSSL 4.4.0 uses the hybrid group X25519MLKEM768 as the preferred TLSv1.3 key exchange in libtls. Certificates, TLS handshake signatures and most key exchange still rely on RSA and elliptic curves such as P-256, P-384 and X25519, which a post-quantum inventory must track. Confirm the exact algorithms your build and configuration negotiate with the project's documentation and your own tests, and treat any third-party certification as a statement you must verify with the issuer.
Does a LibreSSL post-quantum upgrade need new hardware?
The sources listed here do not describe any hardware requirement for LibreSSL beyond its supported platform list, and the README does not name a special processor or accelerator. The practical cost is CPU time, since ML-KEM adds computation to each handshake. LibreSSL 4.3.0 added ML-KEM benchmarks to the openssl(1) speed command, which lets you measure the cost on your own target platform before deciding whether existing servers and devices have enough headroom. Test on representative hardware, especially embedded or high-connection-rate systems, and compare handshake latency and CPU use with and without the hybrid group enabled.
Does moving to post-quantum algorithms change LibreSSL's licensing?
The sources listed here do not indicate a licence change. LibreSSL's COPYING file places its additions under the ISC licence and public domain terms, alongside the OpenSSL License and Original SSLeay License that cover inherited code. Adding post-quantum code from BoringSSL, as LibreSSL 4.1.0 and the 4.5.0 ML-DSA API do, is recorded in the ChangeLog, so review the licence terms of any imported component together with the COPYING file before you redistribute a build. Have your legal or open-source compliance team confirm the terms that apply to your specific version and any patches you carry.
Can LibreSSL use hybrid post-quantum key exchange?
Yes, in the released versions the sources describe. LibreSSL 4.2.0 added a public ML-KEM API intended to support X25519MLKEM768 in libssl, and LibreSSL 4.3.0 added the MLKEM768_X25519 keyshare in TLS. LibreSSL 4.4.0 uses X25519MLKEM768 as the preferred group for TLSv1.3 connections in libtls, so applications built on libtls prefer this hybrid exchange by default. In libtls, the default curve list is currently X25519MLKEM768, X25519, P-256 and P-384. Check how your application sets its groups, because the libssl call SSL_CTX_set1_groups_list() does not list default groups. The 4.2.0 ML-KEM API was documented as not yet final, so verify the interface in the version you deploy.
Is ML-DSA in a stable LibreSSL release?
No. As of 2026-12-03, the LibreSSL ChangeLog lists the ML-DSA API only in the in-development 4.5.0 branch, where it is marked experimental and based on BoringSSL's code. The stable release named on the home page is 4.4.1, and the sources do not show ML-DSA in it. The ChangeLog also shows no SLH-DSA entry, and ML-KEM is the only post-quantum key exchange algorithm named in released versions. Plan signature migration for a later release, and confirm the status with the project before you rely on any post-quantum signature feature in production.
Can our team upgrade LibreSSL ourselves, or do we need outside help?
Your team can do much of the work, provided it has the time and skills. Confirm the version your platform ships and the release cadence first, since LibreSSL moves to a new stable branch every six months and updates each branch for one year after the matching OpenBSD tag. Expect to review configuration changes such as the libtls protocol and cipher settings, the deprecation of tls_peer_cert_chain_pem(), and the cert.pem merge needed on reinstall in 4.4.0. Outside help is most useful for inventory of every dependent service, testing across your estate, and the evidence that compliance reviews ask for. Ask any provider for a written scope, deliverables and a clear split of responsibilities before work begins.
What the sources do not settle, and what to ask the project or your vendor
The LibreSSL sources leave several points open for an upgrade plan, from release dates to the stability of the post-quantum APIs and the effect on hardware and cost. Each card names the question to put to the project or your distributor before you commit to a build or a schedule.
Conflicting 4.4.1 release date
The LibreSSL home page states that the latest stable release, 4.4.1, came out on November 11th, 2026. The releases page lists both 4.4.1 and 4.4.0 as released on October 22nd, 2026, so the sources disagree on the date. Ask the project which date is correct and which build you should pin. Your change record and any build-date checks should use the date the project confirms, not either page on its own.
LibreSSL releases pageUndocumented and possibly unstable ML-KEM API
LibreSSL 4.2.0 added a public ML-KEM API that its release notes describe as not yet documented in a manpage and possibly not in its final form. Any code that calls this API may break in a later release. Ask the project whether the interface is stable, when it will be documented, and what compatibility promise applies before you build against it. Until then, plan to rebuild and retest callers on every upgrade.
LibreSSL 4.2.0 release notesNo ML-DSA in a stable release
The LibreSSL ChangeLog lists the ML-DSA API as experimental and based on BoringSSL's code, and it appears only in the in-development 4.5.0 line. The sources show no stable release that includes ML-DSA, and they name ML-KEM as the only post-quantum key exchange algorithm in released versions. Signing and certificate plans that depend on ML-DSA cannot yet rely on LibreSSL. Ask the project for a release date for stable ML-DSA support.
LibreSSL ChangeLogNo stated hardware or cost effect
The LibreSSL README documents no hardware requirement beyond its platform list, and the sources do not say how ML-KEM affects CPU, memory or latency on a given device. LibreSSL 4.3.0 added ML-KEM benchmarks to the openssl(1) speed command, which lets you measure the cost on your own platform. Ask your distributor or the project for any published performance or sizing figures, and run the benchmark on target hardware before you budget.
OpenBSD 7.9 release pageWhat can go wrong when enabling hybrid key exchange on LibreSSL
The main risk of enabling hybrid key exchange on LibreSSL is a failed handshake with peers that do not offer X25519MLKEM768. Clients, load balancers, and middleboxes that predate the hybrid group, or that inspect and rewrite TLS traffic, may reject or mishandle the larger ClientHello and key share that the hybrid mode sends. Because LibreSSL 4.4.0 makes X25519MLKEM768 the preferred group for TLSv1.3 connections in libtls, this change applies to existing libtls applications without any code change on their side. Confirm which peers and inspection devices your traffic crosses, and test each one before rollout.
A second risk is the silent change in preference at LibreSSL 4.4.0. Applications built on libtls that never set their own group list will start negotiating the hybrid group when they upgrade, so an application that worked against a particular server yesterday may fail today without any local edit. To control this, check whether your applications call tls_config_set_ecdhecurves(), and whether the value default is in use. Where you need the previous behavior during a transition, set the group list explicitly and record the setting in your inventory. The release notes for 4.4.0 also mention that cert.pem is no longer overwritten on reinstall, so a manual merge may be required on hosts that depend on it.
Two smaller items need tracking. The 4.4.0 release deprecates tls_peer_cert_chain_pem(), which the release notes say may be removed in a future release, so code that calls it should be scheduled for change. The same release updates libtls for future OpenSSL releases that stop NUL-terminating ASN.1 strings, so you should check any code in your own stack that reads those strings directly. Before rollout, test handshakes against your real client population, including older devices, inspection appliances, and partner endpoints, and confirm the outcome against the LibreSSL 4.4.0 release notes and the current tls_config_set_ciphers(3) page.
How DeployOpen helps plan and test a LibreSSL post-quantum upgrade
DeployOpen works through a LibreSSL post-quantum upgrade in four stages: scoping the change, building and testing it in your environment, handing over documented results, and supporting it afterward. Each engagement is planned against the release branch and build options your systems actually run, so the work matches what your builds, dependencies and TLS configuration need.
How we scope
- Written, fixed-scope agreement that names the LibreSSL release branch, build system and platforms in use.
- Inventory of which builds use autotools or CMake, since the 4.4.0 flags differ in what they cover.
- Confirmation of which hybrid key exchange settings, including X25519MLKEM768 in libtls, apply to your deployments.
How we build
- Build and test LibreSSL from the chosen stable release in an environment that mirrors your production targets.
- Measure ML-KEM cost on your target platform using the openssl(1) speed benchmarks from release 4.3.0 onward.
- Review each dependency and license note, including the OpenSSL and SSLeay terms that apply to inherited code.
How we hand over
- Written record of build changes, configuration settings and any manual steps, such as the cert.pem merge after reinstalls.
- Test results for handshakes, certificate verification and OCSP checks, with the exact versions tested.
- Clear list of items to confirm with the LibreSSL project, including experimental APIs and deprecations like tls_peer_cert_chain_pem().
How we support
- Ongoing support is available as a retainer for tracking each new stable branch and its one-year update window.
- Upgrade and retest work when the project releases new versions or changes its ML-DSA and ML-KEM APIs.
- Continuous testing of your LibreSSL configuration, so changes in libtls defaults are caught before they reach production.

