Improper Key Initialization in EDB Postgres Extended Server and Advanced Server Affecting Temporary File Encryption
CVE-2026-87027

5.6MEDIUM

What is CVE-2026-87027?

In EDB Postgres Extended Server and EDB Postgres Advanced Server versions 15 through 18, a vulnerability exists due to incomplete initialization of the encryption key for temporary files when Transparent Data Encryption (TDE) is enabled. This flaw occurs because the sizeof() function was applied to a pointer instead of the buffer itself, resulting in only 8 of the intended 32 bytes being filled from a secure random source, diminishing the randomness of the temporary file key from 256 bits to a mere 64 bits. Local read access to the server's temporary file directory is required for exploitation, as these temporary files are generally transient and only persist due to server crashes. This issue is resolved in versions 15.20, 16.16, 17.12, and 18.7 of both server products, necessitating a restart after the upgrade to fully mitigate the risk.

Affected Version(s)

EDB Postgres Advanced Server 15.0 < 15.20.0

EDB Postgres Advanced Server 16.0 < 16.16.0

EDB Postgres Advanced Server 17.0 < 17.12.0

References

CVSS V4

Score:
5.6
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Mark Dilger (EDB)
.