CVE-2026-87027
Received Received - Intake

Incomplete Key Initialization in EDB Postgres Server

Vulnerability report for CVE-2026-87027, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-16

Last updated on: 2026-11-16

Assigner: EnterpriseDB Corporation

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-16
Last Modified
2026-11-16
Generated
2026-11-16
AI Q&A
2026-11-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 8 associated CPEs
Vendor Product Version / Range
EnterpriseDB EDB Postgres Extended Server From 15.0 (inc) to 15.20 (exc)
EnterpriseDB EDB Postgres Extended Server From 16.0 (inc) to 16.16 (exc)
EnterpriseDB EDB Postgres Extended Server From 17.0 (inc) to 17.12 (exc)
EnterpriseDB EDB Postgres Extended Server From 18.0 (inc) to 18.7 (exc)
EnterpriseDB EDB Postgres Advanced Server From 15.0 (inc) to 15.20.0 (exc)
EnterpriseDB EDB Postgres Advanced Server From 16.0 (inc) to 16.16.0 (exc)
EnterpriseDB EDB Postgres Advanced Server From 17.0 (inc) to 17.12.0 (exc)
EnterpriseDB EDB Postgres Advanced Server From 18.0 (inc) to 18.7.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-331 The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.
CWE-467 The code calls sizeof() on a pointer type, which can be an incorrect calculation if the programmer intended to determine the size of the data that is being pointed to.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-87027 is a vulnerability in EDB Postgres Extended Server and EDB Postgres Advanced Server versions 15 through 18 when Transparent Data Encryption (TDE) is enabled. The issue involves incomplete initialization of the TDE key used to encrypt temporary files. The code incorrectly applied sizeof() to a pointer instead of the key buffer, resulting in only 8 of the intended 32 bytes being filled with secure random data. This reduces the key's randomness from 256 bits to 64 bits.

Detection Guidance

This vulnerability requires local read access to the server's temporary-file directory. Check for unauthorized access to temporary files in the PostgreSQL data directory, particularly while the server is running. No specific commands are provided in the context, but monitor for unusual file access patterns in the temporary directory.

Impact Analysis

Exploiting this vulnerability requires local read access to the server's temporary-file directory. It could potentially expose sensitive data if temporary files are not properly secured during encryption. The impact is limited to temporary files, which normally exist only while the server is running and are removed at the next server start. Permanent data files and WAL are not affected.

Mitigation Strategies
  • Upgrade to a fixed version of EDB Postgres Extended Server (15.20, 16.16, 17.12, 18.7) or EDB Postgres Advanced Server (15.20.0, 16.16.0, 17.12.0, 18.7.0) and restart the server.
  • Restrict operating system access to the data directory and temporary file locations until the upgrade is completed.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-87027. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...