CVE-2026-87027
TDE temporary-file encryption key incompletely initialized in EDB Postgres Extended Server and EDB Postgres Advanced Server
Check your servers for CVE-2026-87027
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-87027 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
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
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- high: the attacker needs an administrative account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality high, integrity none, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.97% of all scored CVEs. Scores of 2 Dec 2026.
The assessment of CISA (SSVC, 17 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| EDB Postgres Extended Server |
affected from 15.0, before 15.20 affected from 16.0, before 16.16 affected from 17.0, before 17.12 affected from 18.0, before 18.7
Other versions: unaffected
|
| EDB Postgres Advanced Server |
affected from 15.0, before 15.20.0 affected from 16.0, before 16.16.0 affected from 17.0, before 17.12.0 affected from 18.0, before 18.7.0
Other versions: unaffected
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-87027 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-87027RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-87027Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-87027
trivy image --scanners vuln IMAGE | grep CVE-2026-87027
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://www.enterprisedb.com/docs/security/advisories/cve202687027/ enterprisedb.com · vendor advisory
Patches and release notes
- https://www.enterprisedb.com/docs/pge/15/release_notes/rel_notes15.20/ enterprisedb.com · release notes
- https://www.enterprisedb.com/docs/pge/16/release_notes/rel_notes16.16/ enterprisedb.com · release notes
- https://www.enterprisedb.com/docs/pge/17/release_notes/rel_notes17.12/ enterprisedb.com · release notes
- https://www.enterprisedb.com/docs/pge/18/release_notes/rel_notes18.7.0/ enterprisedb.com · release notes
- https://www.enterprisedb.com/docs/epas/15/epas_rel_notes/epas15_20_0_rel_notes/ enterprisedb.com · release notes
- https://www.enterprisedb.com/docs/epas/16/epas_rel_notes/epas16_16_0_rel_notes/ enterprisedb.com · release notes
- https://www.enterprisedb.com/docs/epas/17/epas_rel_notes/epas17_12_rel_notes/ enterprisedb.com · release notes
- https://www.enterprisedb.com/docs/epas/18/epas_rel_notes/epas18_7_rel_notes/ enterprisedb.com · release notes
Source: the record CVE-2026-87027 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse