CVE-2026-87027: TDE temporary-file encryption key incompletely initialized in EDB Postgres Extended Server and EDB Postgres Advanced Server

Published Nov 16, 2026
·
Updated

In EDB Postgres Extended Server and EDB Postgres Advanced Server versions 15 through 18 with Transparent Data Encryption (TDE) enabled, the key used to encrypt temporary files was incompletely initialized. The code applied sizeof() to a pointer to the key buffer rather than to the buffer itself, so only 8 of the intended 32 bytes were filled from a secure random source and the remaining 24 bytes kept whatever was already in memory. This reduces the guaranteed randomness of the temporary-file key from 256 bits to 64 bits. Exploiting this requires local read access to the server's temporary-file directory, and those files normally exist only while the server is running; they persist only after a crash and are removed at the next server start. Permanent data files and WAL are not affected. The issue is fixed in EDB Postgres Extended Server 15.20, 16.16, 17.12 and 18.7 and EDB Postgres Advanced Server 15.20.0, 16.16.0, 17.12.0 and 18.7.0; the server must be restarted after upgrading.

Affected Software

2 affected components
EDB Postgres Extended Server>=15<15.20, >=16<16.16, >=17<17.12, >=18<18.7
EDB Postgres Advanced Server>=15<15.20.0, >=16<16.16.0, >=17<17.12.0, >=18<18.7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade EDB Postgres Extended Server to a version that resolves this vulnerability.

    Fixed in 15.20
  2. Upgrade

    Upgrade EDB Postgres Extended Server to a version that resolves this vulnerability.

    Fixed in 16.16
  3. Upgrade

    Upgrade EDB Postgres Extended Server to a version that resolves this vulnerability.

    Fixed in 17.12
  4. Upgrade

    Upgrade EDB Postgres Extended Server to a version that resolves this vulnerability.

    Fixed in 18.7
  5. Upgrade

    Upgrade EDB Postgres Advanced Server to a version that resolves this vulnerability.

    Fixed in 15.20.0
  6. Upgrade

    Upgrade EDB Postgres Advanced Server to a version that resolves this vulnerability.

    Fixed in 16.16.0
  7. Upgrade

    Upgrade EDB Postgres Advanced Server to a version that resolves this vulnerability.

    Fixed in 17.12.0
  8. Upgrade

    Upgrade EDB Postgres Advanced Server to a version that resolves this vulnerability.

    Fixed in 18.7.0
  9. Operational

    Restart the server after upgrading.

Event History

Nov 16, 2026
CVE Published
via MITRE·06:42 PM
Data Sourced
via MITRE·06:42 PM
DescriptionWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Only deployments of the affected EDB server versions with Transparent Data Encryption enabled are exposed. Exploitation additionally requires local read access to the server temporary-file directory.

2

Are permanent database files or WAL data affected?

No. The issue affects the encryption key used for temporary files only; permanent data files and WAL are not affected.

3

When could vulnerable temporary files be available to an attacker?

Temporary files normally exist only while the server is running. They can persist after a crash, but are removed at the next server start.

4

What should be done to remediate the issue?

Upgrade to EDB Postgres Extended Server 15.20, 16.16, 17.12, or 18.7, or EDB Postgres Advanced Server 15.20.0, 16.16.0, 17.12.0, or 18.7.0. Restart the server after upgrading.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203