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)

Base score5.6
SeverityMedium
VersionCVSS 4.0
VectorCVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Provided byCNA

Weaknesses

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

Affected products

VendorProductVersions
EnterpriseDBEDB Postgres Extended Server15.0 to <15.20 [affected]; 16.0 to <16.16 [affected]; 17.0 to <17.12 [affected]; 18.0 to <18.7 [affected]
EnterpriseDBEDB Postgres Advanced Server15.0 to <15.20.0 [affected]; 16.0 to <16.16.0 [affected]; 17.0 to <17.12.0 [affected]; 18.0 to <18.7.0 [affected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 17 Nov 2026 08:04 UTC.