CVE-2026-87027
EnterpriseDB EDB Postgres Extended Server weak randomness in TDE temporary-file encryption key
A local attacker with high privileges may be able to decrypt temporary files that the server writes.
Texto original en inglés · Ver en español
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
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-87027 divulgada · CVSS 5.6 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
EDB Postgres Extended Server and EDB Postgres Advanced Server, when Transparent Data Encryption is enabled, generate the key for encrypting temporary files with only 64 bits of real randomness instead of 256, because most of the key buffer is not filled from a secure random source. A local attacker who has high-privilege login and can read the server's temporary-file directory may be able to decrypt those temporary files, which exist only while the server runs or after a crash.
Descripción original del registro (EDB)
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
EDB Postgres Extended Server |
Corregida | 15.20, 16.16, 17.12, 18.7 | — | — |
EDB Postgres Advanced Server |
Corregida | 15.20.0, 16.16.0, 17.12.0, 18.7.0 | — | — |
15.2015.20.016.1616.16.017.1217.12.018.718.7.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://www.enterprisedb.com/docs/security/advisories/cve202687027/https://www.enterprisedb.com/docs/pge/15/release_notes/rel_notes15.20/https://www.enterprisedb.com/docs/pge/16/release_notes/rel_notes16.16/https://www.enterprisedb.com/docs/pge/17/release_notes/rel_notes17.12/https://www.enterprisedb.com/docs/pge/18/release_notes/rel_notes18.7.0/https://www.enterprisedb.com/docs/epas/15/epas_rel_notes/epas15_20_0_rel_notes/https://www.enterprisedb.com/docs/epas/16/epas_rel_notes/epas16_16_0_rel_notes/https://www.enterprisedb.com/docs/epas/17/epas_rel_notes/epas17_12_rel_notes/https://www.enterprisedb.com/docs/epas/18/epas_rel_notes/epas18_7_rel_notes/Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
