What a post-quantum upgrade of MariaDB involves: software and licenses

A post-quantum upgrade of MariaDB today is a TLS software change, not a license change: hybrid X25519MLKEM768 key exchange depends on OpenSSL 3.5.0 or later, and the documented data-at-rest encryption remains symmetric AES.

On this page

What an upgrade of MariaDB for post-quantum key exchange involves today

The documented post-quantum mode for MariaDB is hybrid key exchange with X25519MLKEM768 over TLS 1.3. According to MariaDB's post-quantum page, the server negotiates this group automatically when it is linked against OpenSSL 3.5.0 or later, with no server system variables to change. No license or edition change is named in the sources checked. Anyone running MariaDB with TLS on a client path should care, because the upgrade question is mostly about the OpenSSL build behind the server, not about new settings or a paid tier.

The release notes for MariaDB 12.3.3 and 12.3.4 do not mention ML-KEM, ML-DSA or post-quantum support, and the 12.3 changes page does not either. The Jira ticket MDEV-38927 asks for ML-KEM key exchange and ML-DSA signed server certificates, and it is closed and fixed, but it lists no Fix Version and does not confirm which of those criteria shipped. Treat the key exchange behavior as something to verify on your own build, not something the release notes confirm.

Practically, the reader should confirm three things. First, which OpenSSL version the MariaDB binary or package is linked against, since older OpenSSL means the negotiation does not apply. Second, whether a client-side handshake actually negotiates the hybrid group, which MariaDB documents as checkable with openssl s_client -starttls mysql localhost:3306. Third, whether the vendor's managed service exposes it differently. AWS lists hybrid post-quantum key exchange for Amazon RDS for MariaDB as opt-in, requiring at least MariaDB 12.3.3 and updated clients, with no date given on that row, so a managed deployment is a separate question to put to the provider.

Nothing in the sources covers server certificates. MariaDB's post-quantum page names ML-DSA as the NIST standard for server authentication but does not say MariaDB supports ML-DSA certificates, so certificate and CA work should be planned as a separate item until the vendor confirms it.

Which MariaDB versions, builds and components the post-quantum facts apply to

This table lists each MariaDB version line, build, library and component that the post-quantum facts on this page cover, with the source and check date for each row. Read it before applying any fact, because ML-KEM negotiation depends on the OpenSSL build and the Galera, file key and RDS rows each apply to a separate component. The main takeaway is that the TLS key exchange facts apply only to builds linked against OpenSSL 3.5.0 or later, and the vendor documentation does not show that post-quantum certificates are supported.

Version, build or componentWhat the facts saySource and check date
MariaDB 12.3 lineLong-term release with support listed until June 2029. Latest release is 12.3.4, a GA build dated 2026-11-16.MariaDB 12.3 Changes and Improvements, checked 2026-12-03
MariaDB 12.3.3 and 12.3.4 releasesRelease notes for both builds do not mention ML-KEM, ML-DSA or post-quantum support.MariaDB 12.3.3 and 12.3.4 Release Notes, checked 2026-12-03
ML-KEM TLS key exchangeNegotiated automatically when the server is linked against OpenSSL 3.5.0 or later, with no server variables to change. Older OpenSSL does not apply.MariaDB Post-Quantum Cryptography in TLS, checked 2026-12-03
Galera cluster TLSGalera replicates without encryption by default. TLS is set through socket.ssl_cert, socket.ssl_key and socket.ssl_ca in wsrep_provider_options. Build 12.3.3 aborts state transfer rather than falling back to unencrypted transfer.Securing Communications in Galera Cluster; MariaDB 12.3.3 Release Notes, checked 2026-12-03
File key management AES_CTR and AES_CBCAlgorithm choice is permanent. The server fails to start if started with the wrong algorithm. AES_CBC is the default. These are symmetric encryption settings, not public-key settings.File Key Management Encryption Plugin, checked 2026-12-03
AWS RDS for MariaDB hybrid key exchangeOpt-in only. Requires an upgrade to at least MariaDB 12.3.3 and updated clients. The AWS row carries no date.AWS PQ Readiness Confidentiality, checked 2026-12-03

Which parts of a MariaDB deployment the upgrade touches

A post-quantum change in MariaDB does not land in one place. The server TLS listener, the OpenSSL library it links, replication, Galera transport, data-at-rest encryption and client libraries each carry their own settings and dependencies. Plan each one separately, because the sources document them at different levels of detail.

Server TLS listener

The server's client-facing TLS listener is configured with tls_version, ssl_cipher, ssl_cert, ssl_key and ssl_ca. The tls_version default is TLSv1.2,TLSv1.3 in 10.6.16, 10.11.6, 11.0.4 and later, and ssl_cipher has no default. Confirm the certificate and key formats your deployment uses, and check that the listener accepts the groups your clients will offer. The sources do not say whether the server accepts ML-DSA certificates.

SSL/TLS system variables

OpenSSL library linked into the server

MariaDB negotiates ML-KEM for TLS 1.3 key exchange only when the server is linked against OpenSSL 3.5.0 or later, with no server variables to change. Builds that use the bundled library, or an older OpenSSL, do not get this negotiation. Check the have_openssl variable and the OpenSSL version in your package before planning the change. Confirm the linked version in your own build, not only the package name.

Post-quantum TLS page

Replication links

Replicas set TLS with CHANGE MASTER TO MASTER_SSL=1, restrict ciphers with MASTER_SSL_CIPHER, and verify the server certificate with MASTER_SSL_VERIFY_SERVER_CERT, which is enabled by default from MariaDB 11.3. MariaDB 12.3 added configurable defaults for the MASTER_SSL_* settings. The sources do not document how replication links negotiate post-quantum groups, so test replica connections after any server change.

Replication TLS docs

Galera transport and state transfer

Galera replicates data between nodes without encryption by default. TLS is set through socket.ssl_cert, socket.ssl_key and socket.ssl_ca in wsrep_provider_options. State transfer TLS depends on the method: rsync uses stunnel, mysqldump follows the client configuration, and mariadb-backup has its own section. MariaDB 12.3.3 changed state transfer to abort rather than fall back to unencrypted transfer. The Galera guide does not document post-quantum groups for node-to-node links.

Galera security guide

File key management for data at rest

The file key management plugin encrypts stored data with symmetric AES, using AES_CBC as the default or AES_CTR. The algorithm choice is permanent, and a server started with the wrong one fails to start. MariaDB's post-quantum page recommends AES-256 for data at rest, because post-quantum TLS protects data in transit only. Check the key file encryption, which since 12.0 uses PBKDF2 with a matching file_key_management_use_pbkdf2 value.

File key management plugin

Clients and connectors

Post-quantum TLS is hybrid, combining X25519 with ML-KEM, and clients without support fall back to classical TLS 1.3 key exchange. A session shows the negotiated group as X25519MLKEM768, which you can check with openssl s_client -starttls mysql. Each client library, proxy and application must support the group before the server's negotiation takes effect. The sources do not list which connectors or proxies support these groups.

Negotiated group check

How the upgrade path differs for self-built, distribution and managed MariaDB

Servers you build yourself or install from a Linux distribution package depend on the OpenSSL version they are linked against. MariaDB documents that the server negotiates ML-KEM for TLS 1.3 key exchange automatically when linked against OpenSSL 3.5.0 or later, with no server system variables to change. With older OpenSSL the feature does not apply, so the TLS library version is the first thing to confirm.

  • Check the linked library: Run SELECT @@have_openssl; and confirm the server uses OpenSSL rather than the bundled library. The ssl_crl variable is valid only with OpenSSL.
  • Confirm the OpenSSL version: Check the version against the 3.5.0 threshold. Distribution packages may backport changes, so confirm with the package maintainer rather than assuming from the version string.
  • Hybrid mode: The documented mode is hybrid, combining X25519 with ML-KEM (FIPS 203), appearing as X25519MLKEM768. Clients without post-quantum support fall back to classical TLS 1.3 key exchange.
  • Verify the negotiated group: MariaDB documents openssl s_client -starttls mysql localhost:3306 for this check.
  • Authentication is separate: MariaDB names ML-DSA (FIPS 204) for server authentication but does not state that it supports ML-DSA certificates.

Confirm the distribution's OpenSSL build and your server's have_openssl output before planning changes, since these determine whether the key exchange is available at all.

Steps to plan a MariaDB post-quantum TLS upgrade in order

This sequence turns the MariaDB post-quantum question into a checked inventory: it confirms the server build can negotiate the hybrid key exchange, tests what the server actually offers, finds which clients and replication paths would fall back to classical TLS, and records the vendor's position in writing. Each step ends with a check that the team can repeat and file as evidence.

  1. Confirm the running version and OpenSSL linkage

    The database administrator checks the running MariaDB release and whether the server is built against OpenSSL, since MariaDB documents that the server negotiates ML-KEM for TLS 1.3 key exchange only when linked against OpenSSL 3.5.0 or later. Connect to the server and run SHOW VARIABLES LIKE 'have_openssl' and SELECT VERSION(), then compare the OpenSSL version reported by the build or the operating system package against 3.5.0. This step is complete when the version, the have_openssl value and the OpenSSL version are written down together. If have_openssl shows the server is not using OpenSSL, or the OpenSSL version is older than 3.5.0, the hybrid key exchange does not apply to this build and the later steps cannot succeed until the package changes.

  2. Test the negotiated key exchange group

    The engineer checks what group the server actually negotiates, rather than assuming it from the version. MariaDB documents the check as openssl s_client -starttls mysql localhost:3306, run from a host that can reach the server, and the post-quantum mode is hybrid, so a supported session should show X25519MLKEM768 as the negotiated group. Run the test from a host with an OpenSSL build new enough to offer the group, and record the full output. This step is complete when the output either shows X25519MLKEM768 or shows a classical group, and the team has noted which. A classical result on a server that passed the previous step is a finding to investigate, not a success.

  3. Inventory client and connector support

    The application and platform owners list every client, connector and driver that opens connections to the database, along with the TLS library and version each one uses. The goal is to find which of them can offer X25519MLKEM768 and which will only manage classical TLS 1.3. MariaDB documents that clients without post-quantum support fall back to classical TLS 1.3 key exchange, so a client that lacks support does not fail the connection; it simply stays classical. Record each client against three outcomes: supports the hybrid group, falls back to classical, or cannot connect over TLS 1.3 at all. This step is complete when every connection path in the inventory has one of those three labels and an owner has been named for each one that falls back.

  4. Review Galera and replication TLS paths

    The database and replication team traces every link that carries data between MariaDB nodes, because the post-quantum hybrid key exchange applies to client-server TLS and the replication and Galera links are configured separately. For Galera, MariaDB states that replication is unencrypted by default and that TLS is set through socket.ssl_cert, socket.ssl_key and socket.ssl_ca in wsrep_provider_options. For state transfer, the encryption method depends on whether rsync, mysqldump or mariadb-backup is used, and the MariaDB 12.3.3 release notes say an encrypted transfer now aborts rather than falling back to an unencrypted one. For replicas, the team checks the MASTER_SSL settings. This step is complete when each inter-node link is recorded with its encryption status, the transfer method and whether its key exchange has been tested, since none of these links should be assumed to inherit the client result.

  5. Decide the data-at-rest encryption recommendation

    The security lead decides how stored data is protected, because a post-quantum TLS upgrade protects data in transit only. MariaDB's post-quantum page recommends AES-256 for data at rest for this reason. The file key management plugin offers AES_CBC as the default and AES_CTR, and its documentation says this algorithm choice is permanent, since a server started with the wrong algorithm fails to start. Confirm which algorithm and key length are in use, and whether the key file encryption matches the iteration setting in file_key_management_use_pbkdf2 for the release in use. This step is complete when the current algorithm, key length and key file settings are written down, and the decision to keep or change them is recorded with its owner, since a change to a permanent setting needs its own plan and testing.

  6. Record the vendor answer in writing

    The vendor-risk reviewer records what MariaDB has said about post-quantum support, with the source and date of each statement, because the documentation and the release notes do not all say the same thing. MariaDB's post-quantum page describes hybrid TLS 1.3 key exchange and names ML-DSA as the NIST standard for server authentication, without saying that MariaDB supports ML-DSA certificates. The 12.3.3 and 12.3.4 release notes do not mention ML-KEM, ML-DSA or post-quantum support. Jira ticket MDEV-38927 asks for ML-KEM, ML-DSA certificates and connector options, is closed and fixed, but lists no Fix Version and does not confirm which parts shipped. Record each statement with its source and access date, mark which claims the team has confirmed by testing, and send the open questions to the vendor. This step is complete when the written record shows which parts of the upgrade are confirmed, which are unconfirmed, and which the vendor has been asked to clarify.

How a MariaDB client connection negotiates a hybrid key exchange

The diagram starts with a client opening a TLS 1.3 handshake to the MariaDB server on port 3306. When the client offers X25519MLKEM768, the server, linked against OpenSSL 3.5.0 or later, selects the hybrid group, which combines classical X25519 with ML-KEM (FIPS 203). A client without post-quantum support is not refused; it falls back to classical TLS 1.3 key exchange. To check the result, run openssl s_client -starttls mysql localhost:3306 and read the negotiated group. The server's build, not a server variable, decides whether the hybrid group is offered.

Hybrid group negotiated by a capable client, classical fallback for others.

What MariaDB has not published on upgrade requirements and what to ask

MariaDB's public documentation covers TLS settings, the key-exchange behavior of recent OpenSSL builds and the opt-in state on RDS, but it leaves several upgrade questions open. The cards below list each gap and the question to put to MariaDB or AWS before planning an upgrade, so that the answers can be recorded and dated.

Shipping status of MDEV-38927

The Jira ticket MDEV-38927 asks for ML-KEM key exchange, ML-DSA signed server certificates and connector options. It is closed and fixed, but it lists no Fix Version and does not say which of those criteria shipped. Ask MariaDB which server version, if any, includes each of the three requested features, and whether the connector options are part of the same change. Record the answer with its date, because the ticket alone does not settle it.

MDEV-38927 ticket

ML-DSA server certificate support

MariaDB's post-quantum page names ML-DSA (FIPS 204) as the NIST standard for quantum-resistant server authentication, but it does not say that MariaDB accepts ML-DSA server certificates. Ask MariaDB whether the server can load an ML-DSA server certificate and private key through ssl_cert and ssl_key, and which OpenSSL version that requires. Until the answer is in writing, plan certificate work as an open item rather than assuming a path exists.

MariaDB TLS post-quantum page

Post-quantum options for file key management

The file key management plugin offers AES_CBC and AES_CTR, and its documentation describes symmetric AES for data at rest. Nothing in the documentation says whether the plugin will get a post-quantum option, or whether key file protection will change. Ask MariaDB whether any post-quantum key wrapping or key management option is planned for the file key management plugin, and whether the algorithm choice, which is fixed once set, would need to change for it.

File key management plugin docs

Hybrid key exchange in the FIPS-enabled Enterprise build

MariaDB Enterprise Server relies on an OpenSSL FIPS provider, and the Enterprise Operator enables it with fips.enabled set to true. The docs do not say whether that build negotiates the hybrid X25519MLKEM768 group that the community server documents. Ask MariaDB whether the FIPS-enabled Enterprise build negotiates ML-KEM, and if so with which OpenSSL FIPS provider version. Confirm the answer against a test connection before relying on it for a regulated workload.

Enterprise Operator FIPS docs

License and edition changes

The public materials describe the server, its community releases and the RDS opt-in, but they do not say whether a post-quantum feature moves to a different license tier or edition. Ask MariaDB whether any post-quantum capability is limited to Enterprise or to a paid subscription, and whether using it changes the license terms that apply to your deployment. Get that statement in writing before budgeting, since a change in edition would alter the cost and the support path.

MariaDB About page

Release date for RDS opt-in

AWS lists hybrid post-quantum key exchange for Amazon RDS for MariaDB as opt-in, requiring at least MariaDB 12.3.3 and updated clients. The row carries no date. Ask AWS when the opt-in will be available in each region, and whether it will become the default, along with the minimum client versions that must be upgraded. Use the answer to sequence client changes, because the server side cannot be enabled without them.

AWS PQ readiness page

What can go wrong when enabling hybrid TLS on MariaDB

Turning on hybrid post-quantum key exchange for MariaDB client connections does not make every connection post-quantum. MariaDB's documentation says the server negotiates ML-KEM for TLS 1.3 key exchange automatically when it is linked against OpenSSL 3.5.0 or later, with no server system variables to change. The negotiated group appears as X25519MLKEM768, and clients without post-quantum support fall back to classical TLS 1.3 key exchange. Before relying on this, inventory the connectors and older client libraries that reach the server, and confirm the negotiated group for each one. Check the group with openssl s_client -starttls mysql against the server, and for RDS for MariaDB, read the ssl_named_group value that AWS says sessions expose.

Confirm the OpenSSL version, because the same server setting can appear to enable post-quantum key exchange while the build underneath does not support it. MariaDB states that with an OpenSSL older than 3.5.0 the feature does not apply, so a server reporting that it has TLS enabled tells you nothing about the group. Use the have_openssl variable to confirm the server uses OpenSSL rather than the bundled library, and check the OpenSSL version the binary is linked against. The sources do not say the bundled library offers the hybrid group, so treat a non-OpenSSL build as unconfirmed until the vendor documentation says otherwise.

Connections that pass through a proxy or a Galera link may not negotiate the hybrid group at all. A proxy that terminates TLS on its own side has its own key exchange, so the hop to MariaDB is a separate handshake that must be checked separately. For Galera, the guide states that replication between nodes is unencrypted by default and that TLS for it is configured through socket.ssl_cert, socket.ssl_key and socket.ssl_ca in wsrep_provider_options. The sources supplied do not say that Galera replication negotiates the hybrid group, so confirm that with the vendor for your version. Finally, do not treat TLS as protection for stored data. MariaDB's post-quantum page says post-quantum TLS protects data in transit only, and data at rest is covered by the separate file key management plugin, which uses symmetric AES.

Questions engineers and vendor-risk reviewers ask about MariaDB post-quantum upgrades

Is MariaDB quantum safe?

The sources do not support calling MariaDB quantum safe. What they support is narrower. From MariaDB 11.4 onward, when the server is linked against OpenSSL 3.5.0 or later, it negotiates a hybrid key exchange for TLS 1.3 that combines classical X25519 with ML-KEM (FIPS 203), named X25519MLKEM768. This protects the key exchange for TLS sessions only. Clients without post-quantum support fall back to classical TLS 1.3 key exchange. MariaDB's documentation names ML-DSA (FIPS 204) for server authentication but does not say MariaDB supports ML-DSA certificates, so certificate signatures remain classical. Data at rest uses symmetric AES, which MariaDB recommends at AES-256. The release notes for 12.3.3 and 12.3.4 do not mention post-quantum support. Confirm your exact build's OpenSSL version and the negotiated group before recording any status.

Which MariaDB version and OpenSSL version do I need?

The documented post-quantum key exchange requires the server to be linked against OpenSSL 3.5.0 or later. MariaDB's documentation says the server negotiates ML-KEM automatically in that case, with no server system variables to change. With an older OpenSSL, it does not apply. The sources do not state a minimum MariaDB version for the standard server build. For Amazon RDS for MariaDB, AWS lists hybrid post-quantum key exchange as opt-in and requires at least MariaDB 12.3.3 with updated clients. MariaDB 12.3 is a long-term release with support listed until June 2029, and its latest release is 12.3.4, dated 2026-11-16. Check the OpenSSL version your distribution or container image links against, using openssl version on the host and the server's have_openssl variable to confirm OpenSSL is in use.

Does a post-quantum MariaDB upgrade add a license or cost?

The sources do not name a license change for MariaDB's post-quantum key exchange. MariaDB Server is open source, and the documented ML-KEM negotiation depends on the OpenSSL build, not on a commercial edition. Cost therefore comes mainly from internal effort and from client updates. Internal effort covers inventorying connections, upgrading the server and its OpenSSL build, testing clients, and validating the negotiated group. These are one-time costs, though retesting recurs with each upgrade. Client updates matter because clients without post-quantum support will fall back to classical key exchange, so connectors and proxies may need upgrades to benefit. If you use a managed service or a commercial distribution, ask the provider whether its build, support terms or pricing change. Ask any quote to separate one-time upgrade work from recurring support.

What breaks when MariaDB moves to post-quantum TLS?

The documented change is a key exchange negotiation, so the main risk is connections that fail or downgrade. Three points need checking. First, the server only negotiates the hybrid group when linked against OpenSSL 3.5.0 or later, so a mismatched build will show no change. Second, clients that do not offer the post-quantum group fall back to classical TLS 1.3, which means the protection is only as strong as the weakest client path. Third, the settings tls_version (default TLSv1.2,TLSv1.3 in 10.6.16, 10.11.6, 11.0.4 and later) and ssl_cipher (no default) control what is permitted, so an overly narrow list can reject clients. Test each client, proxy and replica path, and check require_secure_transport behavior, rather than assuming the negotiated group carries through.

What should I ask MariaDB about post-quantum support?

Ask for written answers to these questions, and record the date and version of each. Which MariaDB versions and builds negotiate ML-KEM, and which OpenSSL versions they require? Is ML-DSA supported for server certificates, and if so from which version? Does the Galera replication path (socket.ssl_cert, socket.ssl_key, socket.ssl_ca) carry the same post-quantum protection, and does the state transfer method (rsync, mysqldump or mariadb-backup) change that? Does the file key management plugin's key handling have any post-quantum plan, given its AES-based design? What is the status of the feature request MDEV-38927, which is closed and fixed but lists no Fix Version? Is there a published roadmap or deprecation timeline? Ask for these answers in writing, since the public sources do not cover them.

Can my team upgrade MariaDB for post-quantum TLS ourselves, or do we need outside help?

Your team can handle the core steps if it already runs MariaDB and has a test environment: confirm the OpenSSL version, upgrade to a build linked against OpenSSL 3.5.0 or later, verify the negotiated group with openssl s_client -starttls mysql localhost:3306, and test clients. The harder parts are usually the inventory of client connectors, Galera links, replicas and proxies, and the retesting after each change. Outside help can be useful for a scoped assessment, a test plan across the connection path, or evidence for a compliance review. DeployOpen does implementation, hardening, testing and compliance-readiness work on self-hosted platforms, and it does not issue audit reports or certifications. Agree a written scope and deliverables before any work starts, and ask for a quote based on that scope.

How DeployOpen helps plan and run a MariaDB post-quantum TLS upgrade

DeployOpen works through a MariaDB post-quantum upgrade in four stages: scope, build, hand over and support. Each stage starts from the software versions, TLS settings and licensing terms that apply to your own deployment, so the plan reflects what your servers, Galera nodes and clients actually run.

How we scope

  • We record the MariaDB version, edition and OpenSSL build in use, since server negotiation of ML-KEM depends on linking against OpenSSL 3.5.0 or later.
  • We list the connectors, Galera links and replicas that must be checked before any change, and agree the scope in writing before work starts.
  • We confirm with MariaDB or your licensing contact which features your edition includes, because the sources do not confirm ML-DSA certificate support.

How we build

  • We set tls_version, ssl_cipher and the certificate, key and CA paths on a test server, then verify the negotiated group with openssl s_client.
  • We test Galera state transfer and replication links separately, since TLS for those depends on the transfer method and the wsrep_provider_options settings.
  • We test client compatibility with classical fallback, confirming that clients without post-quantum support still connect over classical TLS 1.3.

How we hand over

  • We document each changed setting, file path and version, so your security and compliance teams can review the configuration against their own records.
  • We provide a rollback procedure for each step and record the results of the negotiation and connection tests run before handover.
  • We deliver a list of open questions for the vendor, such as the status of post-quantum certificate support and the timing of Galera TLS changes.

How we support

  • Ongoing support and upgrades are available as a retainer, covering MariaDB patch releases and changes to OpenSSL and client libraries.
  • We retest after each MariaDB or OpenSSL upgrade, because negotiation behavior depends on the linked library version and not on server settings.
  • We review vendor notices and release notes for changes to post-quantum support and advise on whether the plan needs revision.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.