CVE-2026-87027
published medium CVSS 4.0 · 5.6TDE temporary-file encryption key incompletely initialized in EDB Postgres Extended Server and EDB Postgres Advanced Server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| EnterpriseDB | — | EDB Postgres Extended Server15.0 to < 15.20 · 16.0 to < 16.16 · 17.0 to < 17.12 · 18.0 to < 18.7 · Other versions: unaffected | Affected | Not stated | EDB |
| EnterpriseDB | — | EDB Postgres Advanced Server15.0 to < 15.20.0 · 16.0 to < 16.16.0 · 17.0 to < 17.12.0 · 18.0 to < 18.7.0 · Other versions: unaffected | Affected | Not stated | EDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.6 / 10
- Severity
- medium
- Provider
- EDB · cna
- Vector string
- CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| EnterpriseDB | EDB Postgres Extended Server | 15.0 to < 15.20 (affected · custom)16.0 to < 16.16 (affected · custom)17.0 to < 17.12 (affected · custom)18.0 to < 18.7 (affected · custom)Default: unaffected | EDB · cna |
| EnterpriseDB | EDB Postgres Advanced Server | 15.0 to < 15.20.0 (affected · custom)16.0 to < 16.16.0 (affected · custom)17.0 to < 17.12.0 (affected · custom)18.0 to < 18.7.0 (affected · custom)Default: unaffected | EDB · cna |
Weaknesses
2- CWE-331 CWE-331 Insufficient Entropy
- CWE-467 CWE-467 Use of sizeof() on a Pointer Type
References
9- https://www.enterprisedb.com/docs/epas/15/epas_rel_notes/epas15_20_0_rel_notes/
- https://www.enterprisedb.com/docs/epas/16/epas_rel_notes/epas16_16_0_rel_notes/
- https://www.enterprisedb.com/docs/epas/17/epas_rel_notes/epas17_12_rel_notes/
- https://www.enterprisedb.com/docs/epas/18/epas_rel_notes/epas18_7_rel_notes/
- https://www.enterprisedb.com/docs/pge/15/release_notes/rel_notes15.20/
- https://www.enterprisedb.com/docs/pge/16/release_notes/rel_notes16.16/
- https://www.enterprisedb.com/docs/pge/17/release_notes/rel_notes17.12/
- https://www.enterprisedb.com/docs/pge/18/release_notes/rel_notes18.7.0/
- https://www.enterprisedb.com/docs/security/advisories/cve202687027/
Provider assertions
2EDB · cna
TDE temporary-file encryption key incompletely initialized in EDB Postgres Extended Server and EDB Postgres Advanced Server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 11bcc371917d0c3bff9cf61f8fa551b77130b86d38d3955fb04b07f94f3cfff3
- Ingested
- 17 Nov 2026, 18:03:01 UTC
- Source record
- Official CVE record