Is curl post-quantum compatible today, and with which clients and middleboxes
Post-quantum key exchange in curl depends on two things: the TLS backend curl was built with, and the --curves option being set on the command line or in the libcurl call. The sources checked on 2026-12-03 do not state what curl uses when --curves is left unset, so do not assume a post-quantum group is negotiated by default. curl's own documentation also states that there is no curl-level option for choosing ML-DSA signatures. Signature support, where it exists, comes from the TLS library and from the server's certificate, which must carry an ML-DSA key. The latest changelog entry, for curl 8.23.0 dated October 14, 2026, is the release to check against. This section is written for endpoint, API and platform engineers who run curl in scripts, CI pipelines and services, and for the security leads who record what those systems can negotiate. Any inventory entry should name the curl version, the TLS backend and whether --curves appears in the invocation, because the answer changes with each of those.
The backend matters more than the curl version alone. curl's SSL comparison lists OpenSSL, GnuTLS, wolfSSL, mbedTLS, Schannel and rustls, and rustls is marked as experimental. The --curves option is documented as applying to key exchange groups, but the libcurl page for CURLOPT_SSL_EC_CURVES says it works only with the OpenSSL and wolfSSL backends and does not mention post-quantum groups. curl 8.21.0 fixed wolfSSL post-quantum key shares, and the related pull request says the wolfSSL ML-KEM code path had never been enabled because the upstream wolfSSL flag was removed. wolfSSL's April 30, 2026 post says a curl built with wolfSSL needs wolfSSL configured with --enable-curl, --enable-mlkem and --enable-mldsa, and that the groups work in TLS 1.3 only. Engineers should run a verbose test such as `curl -v --curves X25519MLKEM768 against a server they control, then look for X25519MLKEM768 in the TLS line, and confirm that result on each backend and build they run.
The middlebox question is the one most likely to break a working setup. curl's everything.curl.dev page warns that the larger post-quantum handshake may be blocked by older middleboxes and firewalls. Before changing --curves in production scripts, test through the same proxies, TLS inspection appliances and corporate firewalls the traffic will cross, and confirm handshakes complete, not only that they start. Keep a fallback for callers that cannot negotiate a hybrid group, and record which endpoints still depend on classical key exchange. The curl TODO and security pages checked on 2026-12-03 mention no post-quantum roadmap item, so the project's published material does not commit to a timeline. Ask the vendor or distributor that packages your curl build for its backend, its version and whether it ships with wolfSSL or OpenSSL configured for these groups.
Which curl versions and TLS backends have post-quantum groups, by source date
This table lists each curl component and setting named in the checked sources, with the version or date it applies to and what the source says about post-quantum key exchange. Read each row as a statement about that component only, since the sources do not describe the other backends or the default behavior. The main takeaway is that the only post-quantum-related wording found applies to wolfSSL, and OpenSSL and the other backends are not covered by the checked sources.
| Component or source | What it applies to | Source date | What the source says |
|---|---|---|---|
| curl 8.21.0 wolfSSL fix | curl built with wolfSSL, PQC key shares | June 24, 2026 | Changelog lists the fix "tls: wolfssl: fixes for PQC key shares". The ML-KEM code path was never enabled because WOLFSSL_HAVE_KYBER is no longer in upstream wolfSSL. |
| curl PR 22030 | wolfSSL backend, --curves handling | Pull request, checked 2026-12-03 | curl applies --curves through wolfSSL_CTX_set1_groups_list() and removed its default QUIC group setting. |
| wolfSSL build requirements | wolfSSL library used by curl | April 30, 2026 | Needs --enable-curl, --enable-mlkem and --enable-mldsa. Groups work in TLS 1.3 only. ML-DSA support requires an ML-DSA leaf certificate on the server. |
| libcurl SSL_EC_CURVES | OpenSSL and wolfSSL backends only | Checked 2026-12-03 | Page does not mention post-quantum groups. Confirm the group names your build accepts with the vendor or your own test. |
| curl everything.curl.dev example | Hybrid group X25519MLKEM768 via --curves | Checked 2026-12-03 | Example runs curl -v --curves X25519MLKEM768 and says to look for X25519MLKEM768 in the verbose TLS line. The page gives no minimum version and does not say whether it is on by default. |
| OpenSSL and other backends | GnuTLS, mbedTLS, Schannel, rustls | Checked 2026-12-03 | Not covered by the checked sources. The SSL comparison page lists these backends without post-quantum groups. Confirm with each backend's documentation. |
| Middlebox compatibility | Older firewalls and middleboxes on the path | Checked 2026-12-03 | The curl page warns that larger post-quantum handshake data may be blocked. It gives no curl option for selecting ML-DSA signatures. |
Which clients, libraries and middleboxes meet a post-quantum handshake through curl
A post-quantum handshake through curl depends on the TLS library curl is built with, the server's key exchange and certificate settings, and the other clients and network devices on the path. The cards below cover each of these points and what to test before changing any setting.
The TLS library behind curl
curl itself does not implement post-quantum key exchange. It passes the work to the TLS library it was built with, and the curl SSL comparison table lists six backends: OpenSSL, GnuTLS, wolfSSL, mbedTLS, Schannel and rustls. In the sources checked for this page, wolfSSL is the only backend with a documented post-quantum path, and it needs wolfSSL built with specific flags. Run curl -V to see which backend your build uses before assuming any post-quantum support.
wolfSSL build requirements
wolfSSL's April 30, 2026 post says a curl built with wolfSSL needs wolfSSL configured with --enable-curl, --enable-mlkem and --enable-mldsa. The post-quantum groups work only in TLS 1.3. curl 8.21.0 fixed the wolfSSL key share code, and the curl pull request for it notes that the earlier ML-KEM path was never enabled because the old Kyber macro is no longer in upstream wolfSSL. Confirm both the wolfSSL and curl versions in your build before testing.
Server key exchange and leaf certificate
A post-quantum handshake needs the server to accept an ML-KEM hybrid group in TLS 1.3, and the server's leaf certificate must carry an ML-DSA key if you want ML-DSA signatures. Key exchange and certificate signatures are separate settings, so a server can accept the hybrid group while still presenting a classical certificate. Ask the server operator which groups it offers and which certificate type it presents, and check both against the handshake that curl reports.
Other clients the same server must accept
A server that offers a hybrid group to curl will also face other clients, including browsers and language runtimes built on different TLS libraries. Any of them may offer or refuse the same group, so a server change that works for curl may not work for every client. The curl everything page says post-quantum support is mostly handled by the underlying TLS library and does not say whether it is on by default. Test each major client against the server before rollout.
curl post-quantum guideMiddleboxes and firewalls on the path
curl's post-quantum guide warns that older middleboxes and firewalls may block larger handshake data, because hybrid key shares and ML-DSA certificates make the TLS messages bigger. The sources checked do not say how any specific product behaves, so no device should be assumed safe or unsafe. Test each network path from the client to the server, and watch for failed or truncated handshakes when the group is offered.
Confirming the handshake in curl
The curl guide shows enabling a hybrid group with curl -v --curves X25519MLKEM768 and says to look for X25519MLKEM768 in the verbose TLS line. The --curves` option sets the groups curl offers and ignores the library's default list, so a successful run shows what was negotiated, not what the library would choose by default. Record the curl version, the TLS library and the server name with each test result.
How the answer changes by TLS backend and by how curl is built
wolfSSL's April 30, 2026 post describes the most specific path for curl. It says curl built with wolfSSL needs wolfSSL configured with --enable-curl, --enable-mlkem and --enable-mldsa, and it says the groups work only in TLS 1.3. The curl 8.21.0 changelog of June 24, 2026 lists the fix "tls: wolfssl: fixes for PQC key shares", because the ML-KEM code path had never been enabled after WOLFSSL_HAVE_KYBER left upstream wolfSSL. Pull request 22030 changed the wolfSSL backend to apply --curves through wolfSSL_CTX_set1_groups_list().
- Library build flags: Confirm wolfSSL was built with
--enable-curl,--enable-mlkemand--enable-mldsa. - curl release: Confirm the curl version includes the 8.21.0 wolfSSL PQC key share fix or later.
- TLS version: Expect the hybrid group to apply only when TLS 1.3 is negotiated.
- Curves option: Use
--curveswith the hybrid group name, since curl 8.21.0 routes it through wolfSSL's group list. - ML-DSA certificates: ML-DSA signature support depends on the server's leaf certificate carrying an ML-DSA key, which is a server-side fact.
Check the verbose TLS output of a test connection to see which group was negotiated before relying on the build.
The sources checked do not give post-quantum group behavior for curl built with OpenSSL, GnuTLS, mbedTLS, Schannel or rustls. The libcurl page for CURLOPT_SSL_EC_CURVES says --curves works only with the OpenSSL and wolfSSL backends, and it does not mention post-quantum groups. The curl SSL comparison table marks rustls as experimental. Whether a given OpenSSL-based build negotiates a hybrid group depends on the OpenSSL version and its own configuration, and the curl sources do not state it.
- Backend identity: Run
curl -Vand check which TLS library the build reports. - Curves option support: Confirm whether the backend honors
--curvesat all, since the libcurl page limits it to OpenSSL and wolfSSL. - Vendor documentation: Check the OpenSSL version's own documentation for the groups it offers, because the curl sources do not list them.
- Non-curves backends: For GnuTLS, Schannel, mbedTLS and rustls, the sources give no
--curvesbehavior, so test rather than assume. - Verbose test: Run
curl -vagainst a server you control and read the negotiated group in the TLS line.
The curl everything.curl.dev page says post-quantum support is mostly handled by the underlying TLS library and gives no minimum curl version, so the backend build is the deciding fact.
Many systems run a curl that a Linux distribution or operating system vendor compiled. The curl sources checked do not describe how any distribution set its TLS backend or build flags for post-quantum support, so the answer for a packaged binary cannot be taken from the curl project's documentation. The package can be built against a different library version than the one the curl project tested, and it can ship a patched library.
- Package version: Record the distribution's curl package version and its changelog, which can differ from the upstream curl release.
- Linked library: Use
lddor the platform equivalent on the curl binary to see which TLS library it loads at runtime. - Build flags: Ask the distribution maintainers or check the package build recipe for the backend and any wolfSSL or OpenSSL configuration used.
- Library version: Confirm the shared TLS library version, since packaged curl often depends on a system-wide library.
- Runtime test: Run a verbose connection and read the negotiated group, because the build flags are not visible from the sources here.
If the package does not expose the flags you need, treat the post-quantum behavior as unconfirmed until a test connection shows it.
Where a post-quantum ClientHello goes: curl, TLS library, middlebox, server
The handshake starts in curl, where --curves X25519MLKEM768 sets the key exchange groups and the TLS library builds the ClientHello with a hybrid key share. The request then crosses any middleboxes or firewalls on the path, which may block or drop the larger handshake data. The server selects the group it supports, so the key exchange can succeed only if every hop accepts the message. Signatures are a separate step: ML-DSA depends on the server's leaf certificate, not on any curl option. To verify, run curl -v --curves X25519MLKEM768 and look for X25519MLKEM768 in the verbose TLS output.
The hybrid key share travels from curl through the TLS library and any middleboxes to the server.
How to test curl post-quantum compatibility before changing any setting
This sequence establishes which curl build, TLS library and network path can actually negotiate a hybrid post-quantum key exchange, and records the result before any configuration is changed. Each step ends with a check that confirms or rules out the next one.
Confirm the curl and TLS library versions
Run
curl --versionon each test host and record the curl version and the TLS backend it reports, such as OpenSSL, GnuTLS, wolfSSL or Schannel. The newest curl release listed on the changelog page is 8.23.0, dated October 14, 2026, so record whether each host is on that release or an earlier one. Confirm the backend library version separately, because curl's version output does not always show it. This step is done when every test host has a recorded curl version, backend and backend version in one inventory table.Verify the build supports the curves option
The
--curvesoption was added in curl 7.73.0, so check that each build accepts it by runningcurl --help alland searching for--curves. For wolfSSL builds, confirm the library was configured with--enable-curl,--enable-mlkemand--enable-mldsa, as the wolfSSL April 30, 2026 post describes, and note that the groups work in TLS 1.3 only. curl 8.21.0 fixed the wolfSSL ML-KEM path, so builds older than that should be treated as unverified. This step is done when each host has a yes or no answer on the option and, for wolfSSL, on the three build flags.Run the hybrid curves test against a test endpoint
Run `curl -v --curves X25519MLKEM768 against a server you control or have written permission to test, and replace the bracketed value with that host name. The command sets the key exchange group list to the hybrid group and no other, so a failed handshake shows that the path or server did not accept it. Save the full output to a file for the record. This step is done when the command completes and the output is saved, whether the handshake succeeds or fails.
Check the verbose TLS line for the negotiated group
In the saved output, search for the string
X25519MLKEM768in the verbose TLS lines, which show the negotiated key exchange group. The vendor's everything.curl.dev page gives this as the way to verify the group, so a match on that string is the evidence you need. If the string does not appear, record that the group was not negotiated, even when the connection succeeded. This step is done when you can state, for each host and endpoint, whether the negotiated group line contains X25519MLKEM768.Repeat the test through each network path
Run the same command from each network path that real traffic uses, including direct connections, corporate firewalls, outbound proxies and any TLS inspection device. The everything.curl.dev page warns that larger post-quantum handshake data may be blocked by older middleboxes and firewalls, so a path that works directly can fail behind a device. Ask the owner of each firewall or proxy which version it runs and whether it has been tested with hybrid key exchange. This step is done when every path has its own saved output and a pass or fail result.
Confirm the connection does not fall back silently
Where a path negotiated a classical group, the handshake may have fallen back without any error, so compare the negotiated group across the paths with the hybrid test results. Confirm that a failed hybrid attempt returns an error and does not succeed with a classical group, since the reader needs to know which group protected each connection. The curl changelog and the curl security page do not describe fallback behavior for this option, so run the test rather than relying on a published statement. This step is done when you have a recorded result for each path showing either the hybrid group or a clear failure with no silent substitution.
Record the results and the versions tested
Write one record per host and path with the curl version, backend and backend version, build flags where relevant, the test endpoint, the command used, the negotiated group line and the date tested. Keep the saved verbose output with the record so a reviewer can check it. The curl project's TODO and security pages checked on 2026-12-03 do not mention post-quantum cryptography, so the record should note the vendor's stated status alongside your own results. This step is done when the record is complete for every host and path, and it is the basis for any decision to change a setting.
What curl and its sources have not published on post-quantum compatibility
Across curl's own project pages, the TLS library backends and the packagers, several details that compatibility testing depends on are not stated in the sources checked on 2026-12-03. The cards below list each gap, what the sources do say, and who to ask: the curl project, the packager or the TLS library vendor.
No post-quantum item on the TODO
The curl TODO page, checked on 2026-12-03, has no post-quantum roadmap item, and the security page and SSL backend comparison page do not mention post-quantum cryptography, FIPS or CNSA 2.0. Ask the curl project whether any post-quantum work is planned and where it would be tracked. Ask your packager whether it carries any post-quantum patches beyond upstream curl.
curl TODO pageNo default for --curves
The curl documentation for --curves, added in 7.73.0, sets the TLS key exchange groups and ignores the TLS library's default list when set. The sources checked do not state whether any post-quantum group is on by default when the option is absent. Ask the packager which TLS library your build links against and what group list it applies by default, then test the handshake with verbose output.
curl man pageNo option for ML-DSA signatures
The curl everything.curl.dev page on post-quantum gives no curl option for choosing ML-DSA signatures. Signature algorithms in a connection come from the TLS library and the certificates the server presents. Ask the TLS library vendor which ML-DSA signature settings it exposes and whether they apply to server certificates your curl build will see.
Everything curl PQCNo minimum curl version stated
The Everything curl post-quantum page gives no minimum curl version for post-quantum key exchange and does not say whether it is on by default. Ask the curl project for the first release that supports the groups you need, and ask your packager which version your distribution ships and whether it was built against a TLS library with those groups enabled.
No statement on OpenSSL-backed behavior
The sources checked do not state how curl built with OpenSSL handles post-quantum key exchange, and the libcurl page for CURLOPT_SSL_EC_CURVES does not mention post-quantum groups. Ask the packager which OpenSSL version your build uses and whether its group list includes post-quantum hybrids. Ask the OpenSSL project for the group names it supports in that release.
libcurl SSL_EC_CURVESWhat can break or silently fall back when curl negotiates post-quantum groups
A curl connection can appear to use a post-quantum group when it does not, so the negotiated group should be verified on the wire or in verbose output rather than assumed from the version or the flag. The most common way a hybrid key exchange fails to appear is that the server does not select it. If the server or the TLS library behind it does not offer or accept the hybrid group, the handshake completes with a classical group and curl reports success. Run curl -v --curves X25519MLKEM768 against each endpoint you depend on and look for X25519MLKEM768` in the TLS line. If that string is missing, the connection is classical, whatever the client was asked to do.
Two client-side settings can also remove the group before it reaches the server. The --curves option replaces the TLS library's default group list, so a list that omits the hybrid group, or that names only classical curves, silently removes post-quantum groups from the offer. Check the exact list passed in scripts and wrapper tools, because a value copied from an older example can override a newer default. On the wolfSSL backend, the group path applies only to TLS 1.3. A connection that negotiates TLS 1.2 will not use these groups, even when the list is correct, so confirm the negotiated protocol version alongside the group.
Older middleboxes and firewalls are the other common break point. Post-quantum handshakes carry larger key share data, and the curl project notes that older middleboxes and firewalls may block it. A failure here often appears as a dropped or truncated handshake rather than a clear downgrade, so test through the same network path your users will take, not only from a lab network. For wolfSSL builds, the 8.21.0 changelog entry "tls: wolfssl: fixes for PQC key shares" states that the earlier ML-KEM code path was never enabled, because WOLFSSL_HAVE_KYBER is no longer in upstream wolfSSL. Any curl build older than 8.21.0 with wolfSSL should therefore be verified directly, not assumed to offer ML-KEM groups, and builds should be checked against the wolfSSL configuration that wolfSSL's April 30, 2026 post describes.
Questions engineers ask about curl post-quantum compatibility
Is curl quantum safe?
The sources do not support calling curl quantum safe. curl itself does not implement post-quantum algorithms. Hybrid key exchange is available through the --curves option, for example `curl -v --curves X25519MLKEM768 and the TLS library does the work behind it. Whether a given build can do this depends on its SSL backend, with OpenSSL and wolfSSL named as the backends where --curves applies to key exchange groups. curl's Everything curl post-quantum page does not say whether hybrid groups are on by default, and the curl SSL comparison and TODO pages do not mention post-quantum cryptography. Confirm the state of your own build by running the verbose command above and looking for X25519MLKEM768 in the TLS line.
Which curl version do I need for post-quantum key shares?
The sources point to curl 8.21.0, released June 24, 2026, for the wolfSSL fix. That changelog entry, "tls: wolfssl: fixes for PQC key shares", followed a pull request stating that the wolfSSL ML-KEM code path was never enabled because WOLFSSL_HAVE_KYBER is no longer in upstream wolfSSL. In that pull request curl switched the wolfSSL backend to apply --curves through wolfSSL_CTX_set1_groups_list(). On the wolfSSL side, wolfSSL's April 30, 2026 post says curl needs a wolfSSL built with --enable-curl, --enable-mlkem and --enable-mldsa, and that the groups work in TLS 1.3 only. The newest release listed in the changelog at check time is 8.23.0, dated October 14, 2026. Check the version and the wolfSSL build flags on your own system, since the sources do not give a minimum version for OpenSSL builds.
Does enabling post-quantum support in curl cost extra?
The sources do not state a price for curl post-quantum support. curl is distributed under its own license, and the copyright page does not charge for the tool. The costs that matter sit around it: the time to test hybrid key exchange against your endpoints, the TLS library build or upgrade that provides the groups, and any change to middleboxes that block larger handshakes. Ask whoever maintains your curl builds which backend and version you run, and what a rebuild with the required wolfSSL flags would involve. Those answers, rather than a licence fee, will set the cost.
What breaks when post-quantum handshakes cross middleboxes?
The main known risk is that larger post-quantum handshake data may be blocked by older middleboxes and firewalls. The Everything curl page states this but gives no list of affected devices, and the sources do not name specific products. Test before changing settings:
- Run the verbose command against endpoints behind your firewalls and proxies and check that the handshake completes.
- Compare a default connection with one that sets --curves, so any failure is traced to the hybrid group.
- Record which devices sit on each path, since the failure depends on the inspection device, not curl.
If a handshake fails only with the hybrid group, the device in the path is the first place to check.
Can curl select ML-DSA signatures for certificates?
The Everything curl page gives no curl option for selecting ML-DSA signatures, and the curl man page and cipher docs do not list one either. The wolfSSL post says ML-DSA support applies when the server's leaf certificate has an ML-DSA key, which means the choice of signature sits with the server certificate and the library, not a curl flag. Confirm this with the curl and wolfSSL documentation for the version you run before planning certificate changes.
Can our team enable post-quantum curl ourselves or do we need outside help?
Your team can test this without outside help if it can rebuild curl or confirm its TLS backend. The steps are to check the curl version, confirm the backend (OpenSSL or wolfSSL are the ones named for --curves), and run the verbose command against a test endpoint. Outside help becomes useful when the build needs the wolfSSL flags, when middleboxes block hybrid handshakes, or when the work has to be documented for a security review. Scope such work in writing before starting, and ask for the test results and rebuild steps as deliverables. DeployOpen plans, implements and tests self-hosted platforms in the client's infrastructure and prepares evidence for compliance assessments, but it does not issue audit reports or certifications.
Does curl have a post-quantum roadmap?
The sources do not show one. The curl TODO page, security page and SSL comparison page, all checked on 2026-12-03, do not mention post-quantum cryptography, FIPS or CNSA 2.0, and the TODO page lists no post-quantum roadmap item. Treat curl's own published material as silent on plans, and ask the people who maintain your curl builds for their intended timeline in writing.
How DeployOpen helps plan and test post-quantum curl compatibility
DeployOpen works with engineering and security teams to find which clients, libraries and middleboxes meet post-quantum handshakes when curl is in use. We start from the curl build, the TLS backend and the network path, then test before any setting changes. Every finding is tied to the exact curl version and backend it was observed on.
How we scope
- We record the curl version, backend library and build options in use across your estate before testing begins.
- We list the clients, libraries and middleboxes that sit on each curl connection path and confirm which ones you need to test.
- Scope is agreed in writing as a fixed-scope engagement, with deliverables and timelines set out before work starts.
How we build
- We build test harnesses that run curl with the --curves option against your endpoints and record the negotiated group in verbose output.
- We check the TLS backend's support for post-quantum groups, since the curl project's own notes say the handling is mostly done by the TLS library.
- We test each middlebox and firewall on the path with larger post-quantum handshake data to see whether it drops, truncates or blocks the connection.
How we hand over
- You receive a written compatibility report listing each client, library and middlebox tested, with the result and the exact versions observed.
- Each finding includes the test steps and commands used, so your engineers can rerun them against their own environment.
- We document which settings were changed during testing, which were left alone, and what to confirm with each vendor before a rollout.
How we support
- Ongoing support is available as a retainer for retesting after curl, backend or middlebox upgrades.
- Retesting covers changes to the TLS library version, since curl's own changelog shows backend fixes for post-quantum key shares in recent releases.
- We can rerun the compatibility tests on a schedule, so you see whether results change as vendors publish new versions or notices.

