Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Databases

CVE-2026-87027 — EnterpriseDB EDB Postgres Extended Server

Medium · CVSS 5.6EPSS 0.1% First seen November 16, 2026
DatabasesVulnerabilitiesData protection

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.6 CVSS 4.0 base score from the CNA

An attacker with administrator rights can exploit this with local access, without any user action, but only under specific conditions.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
high (only works under specific conditions)
Special conditions
only in some setups or conditions
Login needed
yes, an administrator account
User action needed
no
Impact
high on confidentiality, none on integrity and availability
Impact on other systems
none

Vector 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

Weakness

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

Affected and fixed versions

ProductAffected versionsFixed in
EnterpriseDB EDB Postgres Extended Server≥ 15.0, < 15.2015.20
≥ 16.0, < 16.1616.16
≥ 17.0, < 17.1217.12
≥ 18.0, < 18.718.7
EnterpriseDB EDB Postgres Advanced Server≥ 15.0, < 15.20.015.20.0
≥ 16.0, < 16.16.016.16.0
≥ 17.0, < 17.12.017.12.0
≥ 18.0, < 18.7.018.7.0

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

Affected

  • EnterpriseDB EDB Postgres Extended Server
  • EnterpriseDB EDB Postgres Advanced Server

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-87027?

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. Weakness type: Insufficient Entropy (CWE-331).

How severe is CVE-2026-87027?

CVE-2026-87027 has a CVSS 4.0 base score of 5.6 (medium), from the CNA. An attacker with administrator rights can exploit this with local access, without any user action, but only under specific conditions.

Is CVE-2026-87027 being exploited?

Not as far as is known: CVE-2026-87027 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.1% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-87027?

EnterpriseDB EDB Postgres Extended Server ≥ 15.0, < 15.20 (fixed in 15.20); EnterpriseDB EDB Postgres Extended Server ≥ 16.0, < 16.16 (fixed in 16.16); EnterpriseDB EDB Postgres Extended Server ≥ 17.0, < 17.12 (fixed in 17.12); EnterpriseDB EDB Postgres Extended Server ≥ 18.0, < 18.7 (fixed in 18.7); and more, listed on this page.

How do I fix CVE-2026-87027?

Update to a fixed release: EnterpriseDB EDB Postgres Extended Server 15.20; EnterpriseDB EDB Postgres Extended Server 16.16; EnterpriseDB EDB Postgres Extended Server 17.12.

Timeline & sources

References

Related vulnerabilities & news