CVE-2026-87027EnterpriseDB EDB Postgres Extended Server vulnerability
CVSS score
5.6
Medium
CVSS 4.0 from 20be33e2-bf35-4d13-8fad-18bd2f3e3659
Exploit probability (EPSS)
0.10%
0.10% chance of exploitation in the next 30 days, higher than 1.05% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: 20be33e2-bf35-4d13-8fad-18bd2f3e3659
How to fix it, step by step
Check whether you're affected
Find every system running EnterpriseDB EDB Postgres Extended Server, EnterpriseDB EDB Postgres Advanced Server and compare its version with the affected versions.
Update to a fixed version
- Update EDB Postgres Extended Server to 15.20, 16.16, 17.12, 18.7 or later, on the branch you run.
- Update EDB Postgres Advanced Server to 15.20.0, 16.16.0, 17.12.0, 18.7.0 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- High
- Attack requirements
- Present
- Privileges required
- High
- User interaction
- None
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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
Affected products
| Affected products | Versions |
|---|---|
| EnterpriseDB EDB Postgres Extended Server | ≥ 15.0, < 15.20 · ≥ 16.0, < 16.16 · ≥ 17.0, < 17.12 · ≥ 18.0, < 18.7 |
| EnterpriseDB EDB Postgres Advanced Server | ≥ 15.0, < 15.20.0 · ≥ 16.0, < 16.16.0 · ≥ 17.0, < 17.12.0 · ≥ 18.0, < 18.7.0 |
Frequently asked questions
Is CVE-2026-87027 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-87027?
CVE-2026-87027 has a CVSS 4.0 base score of 5.6 (medium).
Which versions are affected?
Enterprisedb EDB Postgres Extended Server (≥ 15.0, < 15.20; ≥ 16.0, < 16.16; ≥ 17.0, < 17.12; ≥ 18.0, < 18.7), Enterprisedb EDB Postgres Advanced Server (≥ 15.0, < 15.20.0; ≥ 16.0, < 16.16.0; ≥ 17.0, < 17.12.0; ≥ 18.0, < 18.7.0)
Is there a patch for CVE-2026-87027?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.enterprisedb.com/docs/epas/15/epas_rel_notes/epas15_20_0_rel_notes/
- www.enterprisedb.com/docs/epas/16/epas_rel_notes/epas16_16_0_rel_notes/
- www.enterprisedb.com/docs/epas/17/epas_rel_notes/epas17_12_rel_notes/
- www.enterprisedb.com/docs/epas/18/epas_rel_notes/epas18_7_rel_notes/
- www.enterprisedb.com/docs/pge/15/release_notes/rel_notes15.20/
- www.enterprisedb.com/docs/pge/16/release_notes/rel_notes16.16/
- www.enterprisedb.com/docs/pge/17/release_notes/rel_notes17.12/
- www.enterprisedb.com/docs/pge/18/release_notes/rel_notes18.7.0/
- www.enterprisedb.com/docs/security/advisories/cve202687027/
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.