PostgreSQL post-quantum roadmap and vendor notices

As of 2026-12-03, the PostgreSQL documentation for versions 18 and 19 describes no post-quantum feature and no published roadmap. Hybrid ML-KEM key exchange is possible only by setting ssl_groups to a group name that the linked OpenSSL build supports.

On this page

Has PostgreSQL published a post-quantum roadmap?

If you are recording the PostgreSQL project's position on post-quantum cryptography, the short answer as checked on 2026-12-03 is that none has been published. The PostgreSQL 18 and 19 release notes and the current server and libpq documentation do not mention post-quantum cryptography, ML-KEM, ML-DSA or SLH-DSA, and no PostgreSQL-specific post-quantum feature or roadmap is documented. Record this as a dated absence, not as a commitment or a refusal: the project has said nothing on the subject in the sources checked, so any statement you file should name that check date and the documents reviewed.

The PostgreSQL Global Development Group supports each major version for 5 years after its first release. As of 2026-12-03, PostgreSQL 19 (first released November 19, 2026) and PostgreSQL 18 (18.7, first released September 25, 2025) are listed as supported, and PostgreSQL 14 is no longer supported. This matters for a post-quantum plan because a version that is out of support will not receive upstream fixes for any cryptographic change, so the version you run sets the window for any upgrade decision.

Anyone recording a vendor position for a database that carries client connections or replication should care about this, because those links are where TLS and public-key authentication live. Confirm three things before you sign off: the exact server and client versions in use, whether any distribution or managed service adds its own TLS build on top of OpenSSL, and whether the vendor or hosting provider has issued its own notice. Those notices are not the PostgreSQL project's position, and they should be recorded separately, with their own dates and sources.

Which PostgreSQL versions have which documented TLS and key exchange settings

This table compares the documented TLS and key exchange settings in PostgreSQL 18, PostgreSQL 19 and the libpq client, with each source page and its check date of 2026-12-03. Read each row across the version columns to see which settings changed and which documentation mentions post-quantum groups. The main takeaway is that the documented defaults contain no post-quantum group, and the libpq client documents no groups setting at all.

Setting or itemPostgreSQL 18PostgreSQL 19Source and check date
ssl_groups defaultIncludes X25519 per the 18 release notesX25519:prime256v1PG 18 release notes; PG Connection settings, 19 (2026-12-03)
ssl_ecdh_curveRenamed to ssl_groups; old name still worksNot the primary name; ssl_groups is usedPG 18 release notes (2026-12-03)
ssl_tls13_ciphersAdded in this versionBlank uses OpenSSL built-in TLS 1.3 suitesPG 18 release notes; PG Connection settings, 19 (2026-12-03)
OpenSSL versions older than 1.1.1Support removedNot listed as supportedPG 18 release notes (2026-12-03)
Post-quantum group in documentationNone documented in release notesNone documented in server settingsPG 18 and 19 release notes; PG Connection settings, 19 (2026-12-03)
Hybrid ML-KEM usePossible only if ssl_groups names a group the OpenSSL build supports; shown with OpenSSL 3.5 in a mailing list messageSame dependency on ssl_groups and OpenSSL buildPG hackers thread, 2026-02-19 (checked 2026-12-03)
libpq client groups parameterNo client-side groups parameter documentedNo client-side groups parameter documentedPG libpq connection parameters (checked 2026-12-03)
Support status18.7 listed as supported19.0 listed as supportedPG Versioning page (checked 2026-12-03)

What the PostgreSQL project has said publicly about ML-KEM

The clearest public signal about ML-KEM from the PostgreSQL project is a message to the pgsql-hackers mailing list dated 2026-02-19 by Dmitry Dolgov. It shows a working test, not a committed feature. With PostgreSQL 18 and ssl_groups set to X25519MLKEM768:X25519:prime256v1, the server negotiated the hybrid group X25519MLKEM768 over TLS 1.3 using OpenSSL 3.5. The hybrid group combines ML-KEM with X25519 for key exchange, so it affects only how TLS session keys are agreed, not server certificates or signatures.

The same message reports that earlier versions could not do this, because ssl_ecdh_curve rejected the ML-KEM group name. That setting was renamed to ssl_groups in PostgreSQL 18, and the older name still works, so the practical limit is the name list accepted by the server. The message asks whether the change could be backported to older major versions. The thread text reviewed contains no answer from a committer on that question.

Treat this as a mailing list discussion. It is not a release commitment, a roadmap statement or a vendor support notice. The PostgreSQL 18 and 19 release notes, and the current server and libpq documentation checked on 2026-12-03, do not mention ML-KEM, ML-DSA or SLH-DSA, and the documented default for ssl_groups is X25519:prime256v1, which contains no post-quantum group. Confirm the status with the project before planning around it: check the release notes of any version you run, and ask your PostgreSQL provider whether they ship builds with a hybrid group enabled and whether they will backport it.

Which PostgreSQL components the roadmap question touches

PostgreSQL uses cryptography in several separate places, and each has its own settings and documentation. The cards below list the components a roadmap or vendor question about post-quantum cryptography would need to cover, with what the documentation says about each. None of the current PostgreSQL documentation checked on 2026-12-03 makes a post-quantum statement about these components.

TLS key exchange

The server setting ssl_groups selects the named groups for TLS key exchange as a colon-separated list, and its documented default in PostgreSQL 19 is X25519:prime256v1. The ssl_tls13_ciphers setting governs TLS 1.3 cipher suites and uses OpenSSL's built-in suites when left blank. The documentation states that X25519 is not allowed in OpenSSL FIPS mode. Check which groups your OpenSSL build supports before changing either setting, because the group list is passed directly to OpenSSL.

Connection settings docs

Server and client certificates

The server loads its certificate and private key from ssl_cert_file and ssl_key_file, which default to server.crt and server.key in the data directory. PostgreSQL 19 adds a pg_hosts.conf file in PGDATA that maps hostnames to key pairs for server-side SNI. The documentation states no restriction on certificate key type, only that the key must match the certificate. Client certificates default to ~/.postgresql/postgresql.crt and postgresql.key. Confirm which key algorithms your certificate authority issues before any change.

SSL TCP docs

Client certificate checking

Client certificate verification depends on three settings: ssl_ca_file, which is empty by default and so performs no client certificate check, the clientcert=verify-ca or verify-full option on hostssl lines in pg_hba.conf, and the cert authentication method. Revocation is checked through ssl_crl_file or ssl_crl_dir. Review each hostssl line in pg_hba.conf to see whether client certificates are required, since the default leaves this check off.

SSL TCP docs

Replication and base backups

The pg_basebackup tool makes a backup over a regular PostgreSQL connection using the replication protocol, so it uses the same libpq security settings as other clients. The page lists no backup-encryption option and no SSL or TLS settings of its own. Its manifest uses a per-file checksum set with --manifest-checksums, which defaults to CRC32C, and the page says CRC32C does not resist malicious changes. Manifest checksums do not provide post-quantum protection.

pg_basebackup docs

Password storage

The password_encryption setting defaults to scram-sha-256, and scram_iterations defaults to 4096. The scram-sha-256 method follows RFC 7677. The md5 password type is documented as deprecated and to be removed in a future release. Find roles still using md5 passwords before planning any change, as password storage uses hashing and does not rely on public-key signatures.

Password docs

pgcrypto extension

The pgcrypto extension requires OpenSSL and provides digest, crypt and symmetric encryption functions. Its PGP public-key functions use DSA, Elgamal or RSA keys, and the page lists no support for signing. The pgcrypto.builtin_crypto_enabled setting can be set to fips to disable the built-in gen_salt() and crypt() functions in FIPS mode. Inventory any application that calls pgcrypto PGP functions, since those calls depend on these key types.

pgcrypto docs

How the answer changes by deployment and contract situation

When you compile PostgreSQL yourself and link it against OpenSSL 3.5 or later, the TLS library is under your control, so you can check which groups it supports. PostgreSQL does not provide its own TLS code. It relies on OpenSSL on both client and server, and the server passes the ssl_groups setting to OpenSSL's group list function. In a thread dated 2026-02-19, a PostgreSQL 18 server with ssl_groups set to X25519MLKEM768:X25519:prime256v1 negotiated the hybrid group X25519MLKEM768 over TLS 1.3 with OpenSSL 3.5. The documented default for ssl_groups in PostgreSQL 19 is X25519:prime256v1, which contains no post-quantum group, so a hybrid group only appears if you set it.

  • Default configuration: ssl_groups defaults to X25519:prime256v1 in PostgreSQL 19, so no post-quantum group is offered until you change the setting.
  • Setting that matters: Use ssl_groups with a group name your linked OpenSSL build supports. The thread shows this working for PostgreSQL 18 on OpenSSL 3.5.
  • Older servers: The same thread says PostgreSQL versions before 18 rejected the ML-KEM group name, because ssl_ecdh_curve could not take it. The thread contains no committer answer on backporting.
  • Client side: The libpq connection parameters page documents no client-side groups setting, so the client's negotiated group depends on its own OpenSSL build.
  • Scope: The current documentation does not describe a PostgreSQL-specific post-quantum signature feature.

Confirm the exact OpenSSL version your build loads at runtime, and test the negotiated group from a client you actually run, since the server setting alone does not show what both sides agree on.

What to check before you record a PostgreSQL position

This sequence establishes which PostgreSQL version, OpenSSL build and TLS group settings are actually in use, so that any statement about post-quantum readiness is tied to observed facts rather than assumptions. Each step ends with a check you can record as evidence.

  1. Confirm the running major version and support status

    Run the server and read its major version, then compare it with the PG Versioning page, which as of 2026-12-03 lists PostgreSQL 19 (first released November 19, 2026) and 18 (18.7, first released September 25, 2025) as supported, and lists 14 as no longer supported. Record the exact minor version and its support status on the date you check. The step is closed when the version string and the support status are written into your inventory with that date.

  2. Record the OpenSSL version and build for server and clients

    PostgreSQL does not provide its own TLS code and relies on OpenSSL on both the server and the client, so the library version matters for every connection. On the server, record the OpenSSL version the binary is linked against, and do the same for each client library or driver in the connection path. Note whether the OpenSSL is the system copy or a separately built one, since PostgreSQL reads the system-wide openssl.cnf unless OPENSSL_CONF redirects it. The step is closed when you have one OpenSSL version and build entry per server and per client, each tied to the host it runs on.

  3. Check the effective ssl_groups value

    Query the running server for the ssl_groups setting rather than relying on the configuration file, because a value set in the file, in a conf include or by an earlier edit may not be the one in force. The documented default in PostgreSQL 19 is X25519:prime256v1, and the PostgreSQL 18 release notes say the older ssl_ecdh_curve name still works. Also note whether the server runs in OpenSSL FIPS mode, since the documentation says X25519 is not allowed there. The step is closed when the effective value, its source and the FIPS status are recorded for each server.

  4. Test a hybrid group name in a non-production environment

    In a non-production environment built with the same OpenSSL version, set ssl_groups to a hybrid group name the linked OpenSSL supports, for example X25519MLKEM768 followed by a fallback group. The PostgreSQL hackers message dated 2026-02-19 reports this working on PostgreSQL 18 with OpenSSL 3.5, but earlier versions rejected the ML-KEM name, so test on your own version rather than assuming it. This is an illustrative test, and the PostgreSQL documentation checked on 2026-12-03 does not describe post-quantum groups as a supported feature. The step is closed when the server starts with the setting and you have logged the outcome.

  5. Confirm the negotiated group from a client

    From a client built against the same OpenSSL build, connect to the test server with sslmode set to verify-full and inspect which group was negotiated for the TLS key exchange. The libpq connection parameters page documents no client-side groups setting, so the client's OpenSSL build and the server's ssl_groups list together decide the outcome. Record the group name the connection reports, along with the client and server versions. The step is closed when the negotiated group is written down for each tested client-server pair, including any case where it fell back to a classical group.

  6. Request the vendor or distributor's written statement

    Ask whoever supplies your PostgreSQL build, whether the community project, a distributor or a managed-service provider, for a written statement on post-quantum cryptography. Ask for the statement's date and the versions it covers. The PostgreSQL 18 and 19 release notes and the current server and libpq documentation, as checked on 2026-12-03, do not mention post-quantum cryptography, so a written answer will be the only source for their position. Record the statement, its date and the author. The step is closed when you hold a dated written statement or a dated note that none was provided.

What PostgreSQL has not published and what to ask

The PostgreSQL release notes, server and libpq documentation checked on 2026-12-03 contain no post-quantum statements, so the items below are open questions rather than confirmed gaps in a roadmap. Put each one to the PostgreSQL project, your distributor or your managed service provider and record the answer with its date.

No published post-quantum roadmap

The PostgreSQL 18 and 19 release notes and the current server and libpq documentation, checked on 2026-12-03, do not mention post-quantum cryptography, ML-KEM, ML-DSA or SLH-DSA. Ask the PostgreSQL project or your provider whether a roadmap exists, which major version it targets, and whether it will be published in the release notes. Record the answer and the date it was given.

PG 19 release notes

No backport commitment for ML-KEM groups

A pgsql-hackers message dated 2026-02-19 shows PostgreSQL 18 negotiating the hybrid group X25519MLKEM768 with OpenSSL 3.5. The same message says versions before 18 rejected that group name in ssl_ecdh_curve and asks whether the change could be backported. The thread text reviewed contains no committer answer. Ask the project whether a backport is planned and, if your estate runs versions before 18, plan on the assumption that no backport is confirmed.

Hackers thread

No client-side groups setting in libpq

The server setting ssl_groups selects key exchange groups, but the libpq connection parameters page checked on 2026-12-03 documents no equivalent client-side parameter. Ask whether libpq will gain a groups setting, and whether clients built against a given OpenSSL version can offer a hybrid group at all. Clients that connect to a PostgreSQL server may need review before any server-side change takes effect.

libpq connection parameters

No post-quantum signatures or certificates

The documentation checked on 2026-12-03 describes no post-quantum signature or certificate support for server or client authentication. The server loads certificates and keys from ssl_cert_file and ssl_key_file, and the documentation states no key type restriction beyond the key matching the certificate. Ask the project or provider which certificate and key types PostgreSQL will accept, and whether any post-quantum signature algorithm is planned.

PG SSL TCP docs

No statement on pgcrypto post-quantum algorithms

The pgcrypto documentation checked on 2026-12-03 lists md5, sha1, the SHA-2 family, bf, des and aes algorithms, and PGP public-key encryption with DSA, Elgamal or RSA keys. It lists no support for signing and no post-quantum algorithm. Ask whether pgcrypto will add any post-quantum algorithm, and which stored data encrypted with pgcrypto would need to be re-encrypted if it does.

pgcrypto docs

No transparent data encryption

The PostgreSQL encryption options page checked on 2026-12-03 lists storage encryption at the file system or block level by the operating system and does not mention transparent data encryption. Ask whether PostgreSQL will provide TDE, and if you depend on a managed service, which encryption keys it uses and whether those keys have a post-quantum plan. Until that is answered, treat data-at-rest protection as the responsibility of the storage layer.

PG encryption options

What can go wrong when relying on an ssl_groups setting

Setting ssl_groups to a hybrid group name does not by itself guarantee post-quantum key exchange. The setting is passed to OpenSSL's SSL_CTX_set1_groups_list, so the server can only use a group that the linked OpenSSL build supports. The February 2026 pgsql-hackers thread shows the hybrid group X25519MLKEM768 negotiated with PostgreSQL 18 on OpenSSL 3.5, and the same thread notes that earlier versions rejected the ML-KEM group name in ssl_ecdh_curve. Before relying on a group name, confirm that the OpenSSL build on the server and the OpenSSL build used by each client both list the group. Where a name is unsupported, the outcome depends on the list you configure, and the documentation does not describe a hard failure mode, so test the negotiated group rather than assume it.

The default value of ssl_groups in PostgreSQL 19 is X25519:prime256v1, and that default contains no post-quantum group. A server that keeps the default negotiates classical key exchange only. The same is true of any client that does not offer a matching group. The libpq connection parameters page documents no client-side groups setting, so the documentation gives no PostgreSQL-specific way to force a hybrid group from the client. Two further points limit what a list can do. The setting documentation states that X25519 is not allowed when OpenSSL is in FIPS mode, so a FIPS-mode server built on that list needs a different group order. Also, the pgcrypto documentation describes pgcrypto.builtin_crypto_enabled and its fips option as a separate control, and that control does not select TLS groups.

For each server, record the ssl_groups value, the OpenSSL version it links, whether FIPS mode is enabled, and the negotiated group seen from a test client. Keep in mind that PostgreSQL 14 is no longer supported on the versioning page, so it receives no fixes, and that the documentation marks the md5 password type as deprecated, with scram-sha-256 as the current default. Confirm these points against the version and build you actually run.

Common questions about PostgreSQL post-quantum readiness

Is PostgreSQL quantum safe?

PostgreSQL does not make a quantum safety claim, and no quantum safety claim is made for it here. What the documentation supports is narrower: PostgreSQL relies on OpenSSL for TLS, and the server setting ssl_groups passes its group list to OpenSSL. The current PostgreSQL 19 documentation defaults ssl_groups to X25519:prime256v1, which contains no post-quantum group. The release notes and server and libpq documentation checked on 2026-12-03 do not describe post-quantum features. Whether a post-quantum key exchange is available depends on the OpenSSL build and on whether you set a post-quantum group name, so treat any claim of safety as unsupported until you have tested your own build.

Which PostgreSQL version is needed for hybrid ML-KEM key exchange?

A community thread from 2026-02-19 by Dmitry Dolgov shows PostgreSQL 18 with ssl_groups set to X25519MLKEM768:X25519:prime256v1 negotiating the hybrid group X25519MLKEM768 over TLS 1.3 with OpenSSL 3.5. The same message says earlier versions could not do this because ssl_ecdh_curve rejected the ML-KEM group name, and it asks whether the change could be backported. The thread text available contains no committer answer on that question, so do not assume older major versions support it. Confirm the version and OpenSSL build you run with a test connection before relying on it.

Does PostgreSQL post-quantum support cost extra?

No fee for post-quantum support is documented in the PostgreSQL materials checked. Cost comes from the parts you build and test around it: the OpenSSL build your servers link against, the time to test the server and every client and driver in the connection path, and any review your security or compliance team requires. A hybrid group can change handshake behavior and client compatibility, so budget for testing. Ask your vendor or distributor whether their PostgreSQL package ships an OpenSSL version that supports the group you need, and whether support terms change. Those answers, not a PostgreSQL price list, determine your spend.

What breaks when PostgreSQL enables a post-quantum key exchange?

The main risk is a failed handshake. Clients that do not offer the group you configure will not negotiate it, and the server may refuse the connection if no common group exists, depending on your settings. Check these first:

  • Client libraries and drivers that link an OpenSSL version lacking the group
  • Poolers and proxies in the connection path that terminate or re-establish TLS
  • Unsupported PostgreSQL versions, such as 14, which the versioning page lists as no longer supported
  • The ssl_min_protocol_version setting, which defaults to TLSv1.2, so older clients must still negotiate

Test each path in a staging environment and record which clients succeed, then roll out in stages.

What should I ask PostgreSQL or my vendor about post-quantum plans?

Ask for written answers to these points, because the public documentation leaves them open:

  • Whether a PostgreSQL version or patch release will add a post-quantum group by default, and whether older major versions will receive it
  • Which OpenSSL version your build uses, and whether it supports the hybrid group you plan to set
  • Whether your distribution applies a FIPS configuration that disables X25519, since the documentation says X25519 is not allowed in FIPS mode
  • Whether post-quantum signatures or certificates are planned, since no PostgreSQL-specific post-quantum signature feature is documented
  • Support terms and the date each version stops receiving fixes

Record each answer with its date and the version it applies to.

Can my team do PostgreSQL post-quantum work alone, or do we need outside help?

Your team can start the work alone: inventory your connections and TLS settings, confirm your OpenSSL build, and test one hybrid group in staging. Outside help is useful when many clients, poolers and drivers must be tested, or when you need documented evidence for an assessment. DeployOpen plans, configures and tests self-hosted PostgreSQL inside your own infrastructure, including the connection path and the evidence your review needs. DeployOpen does not issue audit reports, attestations or certifications; independent auditors and certification bodies do that. Scope and deliverables are agreed in writing before work starts.

How DeployOpen helps with PostgreSQL post-quantum readiness work

DeployOpen works through the PostgreSQL post-quantum roadmap and vendor notices in the order a planning team needs them: what the project has published, what it has not, and what that means for your deployment. Each engagement starts from the documented facts and ends with a written record your security and vendor-risk teams can check.

How we scope

  • Engagements are fixed-scope, with the PostgreSQL versions, deployments and documents in scope agreed in writing before work starts.
  • We list which PostgreSQL releases your environment runs and which are still supported under the project's published versioning policy.
  • We confirm with you which vendor, distribution or managed-service statements apply to your deployment before drawing any conclusions.

How we build

  • We review the PostgreSQL release notes and current server and libpq documentation for the versions you run, and record what each one says about post-quantum topics.
  • We check the ssl_groups and TLS settings in your configuration against the documented defaults, noting the OpenSSL build each server links to.
  • We test any hybrid key exchange group only in a lab that matches your production OpenSSL version, and document the observed result.

How we hand over

  • You receive a dated written record of each vendor and project statement reviewed, with links to the exact sources and the date each was checked.
  • The record separates documented PostgreSQL behavior from statements made by your distribution, cloud provider or OpenSSL build, so reviewers can trace each claim.
  • We list open questions for the PostgreSQL project, your distribution or your vendor, so your team knows what to confirm and who to ask.

How we support

  • Ongoing support and retesting are available as a retainer, which can track new PostgreSQL releases and changes to the published roadmap.
  • When the project or your vendor publishes a new notice, we review it against your recorded baseline and update the written record.
  • Support scope, cadence and any quoted fees are agreed in writing, and we do not estimate pricing outside a written scope.

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.