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.
0.1% estimated probability of exploitation activity in the next 30 days; 1st percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-331Insufficient Entropy CWE-467Use of sizeof() on a Pointer Type
Show the promptExplain CVE-2026-87027 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-87027?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-87027?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-87027 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.
Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
enterprisedb:edb postgres advanced server
enterprisedb:edb postgres extended server
Versions
From the CNA's record in the CVE List.
Product
Affected
EnterpriseDB EDB Postgres Extended Server
from 15.0 before 15.20
EnterpriseDB EDB Postgres Extended Server
from 16.0 before 16.16
EnterpriseDB EDB Postgres Extended Server
from 17.0 before 17.12
EnterpriseDB EDB Postgres Extended Server
from 18.0 before 18.7
EnterpriseDB EDB Postgres Advanced Server
from 15.0 before 15.20.0
EnterpriseDB EDB Postgres Advanced Server
from 16.0 before 16.16.0
EnterpriseDB EDB Postgres Advanced Server
from 17.0 before 17.12.0
EnterpriseDB EDB Postgres Advanced Server
from 18.0 before 18.7.0
Attack patterns (CAPEC)
CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.