TDE temporary-file encryption key incompletely initialized in EDB Postgres Extended Server and EDB Postgres Advanced Server

Summary

CVECVE-2026-87027
StatePUBLISHED
AssignerEDB
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-16 19:17:53 UTC
Updated2026-11-17 18:17:59 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v4.0 5.6 MEDIUM from 20be33e2-bf35-4d13-8fad-18bd2f3e3659

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Problem Types: CWE-331 | CWE-467 | CWE-331 CWE-331 Insufficient Entropy | CWE-467 CWE-467 Use of sizeof() on a Pointer Type


VersionSourceTypeScoreSeverityVector
4.020be33e2-bf35-4d13-8fad-18bd2f3e3659Secondary5.6MEDIUMCVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/C...
4.0CNACVSS5.6MEDIUMCVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS v4.0 Breakdown

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
User Interaction
None
Confidentiality
High
Integrity
None
Availability
None
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA EnterpriseDB EDB Postgres Extended Server affected 15.0 15.20 custom Not specified
CNA EnterpriseDB EDB Postgres Extended Server affected 16.0 16.16 custom Not specified
CNA EnterpriseDB EDB Postgres Extended Server affected 17.0 17.12 custom Not specified
CNA EnterpriseDB EDB Postgres Extended Server affected 18.0 18.7 custom Not specified
CNA EnterpriseDB EDB Postgres Advanced Server affected 15.0 15.20.0 custom Not specified
CNA EnterpriseDB EDB Postgres Advanced Server affected 16.0 16.16.0 custom Not specified
CNA EnterpriseDB EDB Postgres Advanced Server affected 17.0 17.12.0 custom Not specified
CNA EnterpriseDB EDB Postgres Advanced Server affected 18.0 18.7.0 custom Not specified

References

ReferenceSourceLinkTags
www.enterprisedb.com/docs/epas/18/epas_rel_notes/epas18_7_rel_notes 20be33e2-bf35-4d13-8fad-18bd2f3e3659 www.enterprisedb.com
www.enterprisedb.com/docs/epas/16/epas_rel_notes/epas16_16_0_rel_notes 20be33e2-bf35-4d13-8fad-18bd2f3e3659 www.enterprisedb.com
www.enterprisedb.com/docs/security/advisories/cve202687027 20be33e2-bf35-4d13-8fad-18bd2f3e3659 www.enterprisedb.com
www.enterprisedb.com/docs/pge/16/release_notes/rel_notes16.16 20be33e2-bf35-4d13-8fad-18bd2f3e3659 www.enterprisedb.com
www.enterprisedb.com/docs/epas/17/epas_rel_notes/epas17_12_rel_notes 20be33e2-bf35-4d13-8fad-18bd2f3e3659 www.enterprisedb.com
www.enterprisedb.com/docs/pge/15/release_notes/rel_notes15.20 20be33e2-bf35-4d13-8fad-18bd2f3e3659 www.enterprisedb.com
www.enterprisedb.com/docs/pge/18/release_notes/rel_notes18.7.0 20be33e2-bf35-4d13-8fad-18bd2f3e3659 www.enterprisedb.com
www.enterprisedb.com/docs/pge/17/release_notes/rel_notes17.12 20be33e2-bf35-4d13-8fad-18bd2f3e3659 www.enterprisedb.com
www.enterprisedb.com/docs/epas/15/epas_rel_notes/epas15_20_0_rel_notes 20be33e2-bf35-4d13-8fad-18bd2f3e3659 www.enterprisedb.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Mark Dilger (EDB) (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report