p PatchFirst

CVE-2026-87027

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

CVSS 5.6 · Medium · EPSS 0.1% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Affected products and versions

  • edb postgres extended server

    Versions
    • ≥ 15.0, < 15.20: Affected (custom)
    • ≥ 16.0, < 16.16: Affected (custom)
    • ≥ 17.0, < 17.12: Affected (custom)
    • ≥ 18.0, < 18.7: Affected (custom)

    Update to 15.20; Update to 16.16; Update to 17.12; Update to 18.7

  • edb postgres advanced server

    Versions
    • ≥ 15.0, < 15.20.0: Affected (custom)
    • ≥ 16.0, < 16.16.0: Affected (custom)
    • ≥ 17.0, < 17.12.0: Affected (custom)
    • ≥ 18.0, < 18.7.0: Affected (custom)

    Update to 15.20.0; Update to 16.16.0; Update to 17.12.0; Update to 18.7.0

Original sources

Check your server →