CVE-2026-87027
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.
Weakness
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-17 |
Timeline
- 2026-11-16Published by the CNA18:42 UTC
- 2026-11-16Published in NVD19:17 UTC · 35 minutes after the CNA
- 2026-11-17CISA SSVC decision recorded1 day after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| enterprisedb edb_postgres_advanced_server | from 15.0 before 15.20.0fixed in 15.20.0from 16.0 before 16.16.0fixed in 16.16.0from 17.0 before 17.12.0fixed in 17.12.0from 18.0 before 18.7.0fixed in 18.7.0 | 15.20.016.16.017.12.018.7.0 |
| enterprisedb edb_postgres_extended_server | from 15.0 before 15.20fixed in 15.20from 16.0 before 16.16fixed in 16.16from 17.0 before 17.12fixed in 17.12from 18.0 before 18.7fixed in 18.7 | 15.2016.1617.1218.7 |
References
- https://www.enterprisedb.com/docs/security/advisories/cve202687027/
- 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/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-87027'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-87027'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-87027'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-87027'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).