CVE-2026-87027 — EnterpriseDB EDB Postgres Extended Server
Summary
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.
Severity breakdown
Medium · 5.6
An attacker with administrator rights can exploit this with local access, without any user action, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, an administrator account
- User action needed
- no
- Impact
- high on confidentiality, none on integrity and availability
- Impact on other systems
- none
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| EnterpriseDB EDB Postgres Extended Server | ≥ 15.0, < 15.20 | 15.20 |
| ≥ 16.0, < 16.16 | 16.16 | |
| ≥ 17.0, < 17.12 | 17.12 | |
| ≥ 18.0, < 18.7 | 18.7 | |
| EnterpriseDB EDB Postgres Advanced Server | ≥ 15.0, < 15.20.0 | 15.20.0 |
| ≥ 16.0, < 16.16.0 | 16.16.0 | |
| ≥ 17.0, < 17.12.0 | 17.12.0 | |
| ≥ 18.0, < 18.7.0 | 18.7.0 |
References by type
Other references
- enterprisedb.com/docs/epas/15/epas_rel_notes/epas15_20_0_rel_notes
- enterprisedb.com/docs/epas/16/epas_rel_notes/epas16_16_0_rel_notes
- enterprisedb.com/docs/epas/17/epas_rel_notes/epas17_12_rel_notes
- enterprisedb.com/docs/epas/18/epas_rel_notes/epas18_7_rel_notes
- enterprisedb.com/docs/pge/15/release_notes/rel_notes15.20
- enterprisedb.com/docs/pge/16/release_notes/rel_notes16.16
- enterprisedb.com/docs/pge/17/release_notes/rel_notes17.12
- enterprisedb.com/docs/pge/18/release_notes/rel_notes18.7.0
- enterprisedb.com/docs/security/advisories/cve202687027
Affected
- EnterpriseDB EDB Postgres Extended Server
- EnterpriseDB EDB Postgres Advanced Server
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-87027?
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. Weakness type: Insufficient Entropy (CWE-331).
How severe is CVE-2026-87027?
CVE-2026-87027 has a CVSS 4.0 base score of 5.6 (medium), from the CNA. An attacker with administrator rights can exploit this with local access, without any user action, but only under specific conditions.
Is CVE-2026-87027 being exploited?
Not as far as is known: CVE-2026-87027 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.1% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-87027?
EnterpriseDB EDB Postgres Extended Server ≥ 15.0, < 15.20 (fixed in 15.20); EnterpriseDB EDB Postgres Extended Server ≥ 16.0, < 16.16 (fixed in 16.16); EnterpriseDB EDB Postgres Extended Server ≥ 17.0, < 17.12 (fixed in 17.12); EnterpriseDB EDB Postgres Extended Server ≥ 18.0, < 18.7 (fixed in 18.7); and more, listed on this page.
How do I fix CVE-2026-87027?
Update to a fixed release: EnterpriseDB EDB Postgres Extended Server 15.20; EnterpriseDB EDB Postgres Extended Server 16.16; EnterpriseDB EDB Postgres Extended Server 17.12.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-109586 — renehermi WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups
- MongoDB Ruby Driver Vulnerability Allows Cleartext Storage of Sensitive Data
- AutoGPT Platform Hardcoded Encryption Key Vulnerability
- mcp-ssh-manager OS Command Injection Vulnerability
- Postgres Enterprise Manager Allows Unauthorized Access to Encrypted Passwords