Skip to main content

EDB Postgres Advanced Server CVE-2026-87027

| EUVDEUVD-2026-126596 MEDIUM
Insufficient Entropy (CWE-331)
2026-11-16 EDB GHSA-jq42-r65f-4jxp
5.6
CVSS 4.0 · Vendor: EDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local read access to temp-file directory
  2. Exploit
    Collect TDE temp files left after a server crash
  3. Execution
    Brute-force the weakened 64-bit key
  4. Impact
    Decrypt sensitive temporary query data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Entropy requirements
Exploitation Conditions

Requires all of the following to coincide: Transparent Data Encryption (TDE) must be enabled on EDB Postgres Extended Server or EDB Postgres Advanced Server versions 15 through 18; the attacker must have local read access to the server's temporary-file directory; and target temporary files must still exist - they normally exist only while the server runs and are removed at the next start, so they persist for exploitation only after a server crash. Scope is limited to temporary files: permanent data files and WAL are explicitly not affected. Limiting factors per the CVSS vector are local-only access (AV:L), high attack complexity (AC:H), a present attack requirement (AT:P), and high privileges (PR:H); no user interaction is needed (UI:N).

Impact

This is a genuine but low-urgency confidentiality weakness, not a high-CVSS-but-hollow alert - the signals are internally consistent and all point to limited real-world risk. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:H/UI:N, VC:H only) describes a locally-exploitable, high-complexity flaw with an attack requirement (AT:P) and high privileges (PR:H), yielding a 5.6 MEDIUM score; vuln.today's 'this_month' decision label aligns with that moderate tier rather than act_now/emergency. No CISA KEV listing, no EPSS score supplied, and no PoC reference appear in the input, so there is no public evidence of exploitation or exploit code. The core risk is cryptographic: a sizeof()-on-pointer bug reduced the temporary-file encryption key from 256 to 64 bits of guaranteed entropy, so an attacker who already holds local read access to leftover temp files could brute-force a 64-bit key - feasible in principle but gated by needing local filesystem access and a crash that left temp files behind. Note one nuance to verify: the input Tags include 'Denial Of Service', yet the CVSS vector shows VA:N (no availability impact) and the mechanism is an entropy/confidentiality weakness, so the DoS characterization is inconsistent with the vector and appears mislabeled.

Exploit ScenarioDerived

A local actor with read access to the EDB Postgres server's temporary-file directory waits for (or induces) a server crash that leaves TDE-encrypted temporary files on disk before the next restart removes them. Because only 8 of the 32 key bytes come from a secure random source, the actor brute-forces the effective 64-bit key offline to decrypt sensitive query data (sorts, hashes, spills) that was written to those temp files. No public exploit code or PoC reference is present in the supplied data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 16, 2026

Temporary-file encryption in EDB Postgres Advanced Server and EDB Postgres Extended Server 15 through 18 with Transparent Data Encryption enabled is built from a key that receives only 8 of its intended 32 random bytes, so the guaranteed entropy of the temporary-file key drops from 256 bits to 64 bits. The defect is a sizeof() applied to a pointer rather than to the key buffer, leaving 24 bytes of uninitialized memory in the key; exploiting it requires high local privileges (PR:H per the CVSS vector) plus read access to the server's temporary-file directory, and the files normally exist only while the server runs, persisting just after a crash until the next start. Impact is confined to temporary files - permanent data files and WAL are explicitly unaffected - and no public exploit code or active exploitation has been identified at time of analysis; vendor fixes are available for every affected branch and require a server restart.

RemediationAI

Vendor-released patch: upgrade EDB Postgres Extended Server to 15.20, 16.16, 17.12 or 18.7, or EDB Postgres Advanced Server to 15.20.0, 16.16.0, 17.12.0 or 18.7.0, and restart the server afterwards as the vendor requires - until the restart the corrected key-generation code is not in effect. Because exploitation needs local read access to the server's temporary-file directory in combination with high database privileges, limit that directory's filesystem permissions to the database service account and remove other local users and groups from its ACL; the trade-off is that co-located tooling or backup agents running as different accounts may need to be re-permissioned. Because the weak-keyed files only linger after a crash, treat a crash-and-restart cycle as the exposure window: clear leftover temporary files before restarting a crashed instance where operational procedures allow it, at the cost of losing any diagnostic state those files hold. Full details and per-branch release notes are at https://www.enterprisedb.com/docs/security/advisories/cve202687027/.

Affected VersionsENISA

EDB Postgres Extended Server 16.0 <16.16
EDB Postgres Advanced Server 18.0 <18.7.0
EDB Postgres Advanced Server 17.0 <17.12.0
EDB Postgres Extended Server 18.0 <18.7
EDB Postgres Advanced Server 15.0 <15.20.0
EDB Postgres Extended Server 17.0 <17.12
EDB Postgres Advanced Server 16.0 <16.16.0
EDB Postgres Extended Server 15.0 <15.20

Affected Packages

euvd edb_postgres_advanced_server fix: 15.20.0, 16.16.0, 17.12.0, 18.7.0
euvd edb_postgres_extended_server fix: 15.20, 16.16, 17.12, 18.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-331 (Insufficient Entropy) manifesting as a classic C pointer-size mistake: the key-generation routine passed sizeof(key_pointer) instead of sizeof(key_buffer), so the secure random source filled only 8 bytes and the remaining 24 bytes retained whatever was already in memory. The intended 32-byte (256-bit) temporary-file key therefore carries at most 64 bits of guaranteed randomness, materially lowering the work factor for anyone able to obtain the ciphertext. The affected component is the Transparent Data Encryption layer of EDB Postgres Extended Server and EDB Postgres Advanced Server (CPE: cpe:2.3:a:enterprisedb:edb_postgres_extended_server and cpe:2.3:a:enterprisedb:edb_postgres_advanced_server), specifically the handling of spill/temporary files created during query execution. The assessed vector (CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N) reflects local-only access, high attack complexity, a present attack requirement and high privileges, with a confidentiality-only outcome; the trigger path beyond the prerequisites stated by the vendor and the assessed vector is not described in the available sources. The supplied metadata also carries a Denial Of Service tag, but neither the description nor the independent assessment supports an availability impact.

Know when Edb Postgres Extended Server gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EDB) PRIMARY 5.6 MEDIUM
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
vuln.today AI 4.1 MEDIUM

Local access to the temp-file directory and TDE operation imply AV:L and PR:H; dependence on a post-crash window raises AC:H; only confidentiality of temp data is affected, so I:N/A:N.

3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (EDB).

CVSS VectorVendor: EDB

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 16, 2026 - 20:18 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
commercial EDB Postgres distribution, enterprise-niche footprint, only TDE-enabled deployments affected
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy