TDE temporary-file encryption key incompletely initialized in EDB Postgres Extended Server and EDB Postgres Advanced Server
CVE-2026-87027Published 16 Nov 2026, 18:42 UTC
Real-world risk
0.1/ 10Low
Routine
If the vulnerable configuration applies to you: 0.3
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.6
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EDB)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| EDB Postgres Advanced ServerNiche | >= 15.0, < 15.20.0; >= 16.0, < 16.16.0; >= 17.0, < 17.12.0; >= 18.0, < 18.7.0 | 15.20.0, 16.16.0, 17.12.0, 18.7.0 |
| EDB Postgres Extended ServerNiche | >= 15.0, < 15.20; >= 16.0, < 16.16; >= 17.0, < 17.12; >= 18.0, < 18.7 | 15.20, 16.16, 17.12, 18.7 |
What to do
Update to a fixed version: 15.20.0, 16.16.0, 17.12.0, 18.7.0, 15.20, 16.16, 17.12, 18.7.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.1% chance of exploitation in 30 days (percentile 3), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.020
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.0203 × threat 0.850.138
- Rounded to one decimal between 0.1 and 100.1
Exploitation and evidence timeline
- 16 Nov 2026 Published
- 3 Dec 2026 Risk 0.1 (cvss fallback)
Weakness
CWE-331, CWE-467
References
- https://www.enterprisedb.com/docs/security/advisories/cve202687027/vendor-advisory
- https://www.enterprisedb.com/docs/pge/15/release_notes/rel_notes15.20/release-notes
- https://www.enterprisedb.com/docs/pge/16/release_notes/rel_notes16.16/release-notes
- https://www.enterprisedb.com/docs/pge/17/release_notes/rel_notes17.12/release-notes
- https://www.enterprisedb.com/docs/pge/18/release_notes/rel_notes18.7.0/release-notes
- https://www.enterprisedb.com/docs/epas/15/epas_rel_notes/epas15_20_0_rel_notes/release-notes
- https://www.enterprisedb.com/docs/epas/16/epas_rel_notes/epas16_16_0_rel_notes/release-notes
- https://www.enterprisedb.com/docs/epas/17/epas_rel_notes/epas17_12_rel_notes/release-notes
- https://www.enterprisedb.com/docs/epas/18/epas_rel_notes/epas18_7_rel_notes/release-notes
- CVE-2026-87027 on CVE.org