Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local read access to temp-file directory
-
ExploitCollect TDE temp files left after a server crash
-
ExecutionBrute-force the weakened 64-bit key
-
ImpactDecrypt 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (EDB).
CVSS VectorVendor: EDB
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-126596
GHSA-jq42-r65f-4jxp
NVD
CVE.org
EPSS
Exploit-DB