CVE-2026-87027 (GCVE-0-2026-87027)
Vulnerability from cvelistv5 – Published: 2026-11-16 18:42 – Updated: 2026-11-16 18:42
VLAI
EPSS
VEX
Title
TDE temporary-file encryption key incompletely initialized in EDB Postgres Extended Server and EDB Postgres Advanced Server
Summary
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
Assigner
References
9 references
| URL | Tags |
|---|---|
| https://www.enterprisedb.com/docs/security/adviso… | vendor-advisory |
| https://www.enterprisedb.com/docs/pge/15/release_… | release-notes |
| https://www.enterprisedb.com/docs/pge/16/release_… | release-notes |
| https://www.enterprisedb.com/docs/pge/17/release_… | release-notes |
| https://www.enterprisedb.com/docs/pge/18/release_… | release-notes |
| https://www.enterprisedb.com/docs/epas/15/epas_re… | release-notes |
| https://www.enterprisedb.com/docs/epas/16/epas_re… | release-notes |
| https://www.enterprisedb.com/docs/epas/17/epas_re… | release-notes |
| https://www.enterprisedb.com/docs/epas/18/epas_re… | release-notes |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| EnterpriseDB | EDB Postgres Extended Server |
Affected:
15.0 , < 15.20
(custom)
Affected: 16.0 , < 16.16 (custom) Affected: 17.0 , < 17.12 (custom) Affected: 18.0 , < 18.7 (custom) |
|
| EnterpriseDB | EDB Postgres Advanced Server |
Affected:
15.0 , < 15.20.0
(custom)
Affected: 16.0 , < 16.16.0 (custom) Affected: 17.0 , < 17.12.0 (custom) Affected: 18.0 , < 18.7.0 (custom) |
Date Public
2026-11-16 00:00
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "EDB Postgres Extended Server",
"vendor": "EnterpriseDB",
"versions": [
{
"lessThan": "15.20",
"status": "affected",
"version": "15.0",
"versionType": "custom"
},
{
"lessThan": "16.16",
"status": "affected",
"version": "16.0",
"versionType": "custom"
},
{
"lessThan": "17.12",
"status": "affected",
"version": "17.0",
"versionType": "custom"
},
{
"lessThan": "18.7",
"status": "affected",
"version": "18.0",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unaffected",
"product": "EDB Postgres Advanced Server",
"vendor": "EnterpriseDB",
"versions": [
{
"lessThan": "15.20.0",
"status": "affected",
"version": "15.0",
"versionType": "custom"
},
{
"lessThan": "16.16.0",
"status": "affected",
"version": "16.0",
"versionType": "custom"
},
{
"lessThan": "17.12.0",
"status": "affected",
"version": "17.0",
"versionType": "custom"
},
{
"lessThan": "18.7.0",
"status": "affected",
"version": "18.0",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Mark Dilger (EDB)"
}
],
"datePublic": "2026-11-16T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "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\u0027s 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."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.6,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-331",
"description": "CWE-331 Insufficient Entropy",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-467",
"description": "CWE-467 Use of sizeof() on a Pointer Type",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-16T18:42:29.783Z",
"orgId": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"shortName": "EDB"
},
"references": [
{
"tags": [
"vendor-advisory"
],
"url": "https://www.enterprisedb.com/docs/security/advisories/cve202687027/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/pge/15/release_notes/rel_notes15.20/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/pge/16/release_notes/rel_notes16.16/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/pge/17/release_notes/rel_notes17.12/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/pge/18/release_notes/rel_notes18.7.0/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/epas/15/epas_rel_notes/epas15_20_0_rel_notes/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/epas/16/epas_rel_notes/epas16_16_0_rel_notes/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/epas/17/epas_rel_notes/epas17_12_rel_notes/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/epas/18/epas_rel_notes/epas18_7_rel_notes/"
}
],
"source": {
"discovery": "INTERNAL"
},
"title": "TDE temporary-file encryption key incompletely initialized in EDB Postgres Extended Server and EDB Postgres Advanced Server",
"x_generator": {
"engine": "cvelib 1.8.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"assignerShortName": "EDB",
"cveId": "CVE-2026-87027",
"datePublished": "2026-11-16T18:42:29.783Z",
"dateReserved": "2026-09-08T18:04:01.223Z",
"dateUpdated": "2026-11-16T18:42:29.783Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "EDB Postgres Extended Server",
"vendor": "EnterpriseDB",
"versions": [
{
"lessThan": "15.20",
"status": "affected",
"version": "15.0",
"versionType": "custom"
},
{
"lessThan": "16.16",
"status": "affected",
"version": "16.0",
"versionType": "custom"
},
{
"lessThan": "17.12",
"status": "affected",
"version": "17.0",
"versionType": "custom"
},
{
"lessThan": "18.7",
"status": "affected",
"version": "18.0",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unaffected",
"product": "EDB Postgres Advanced Server",
"vendor": "EnterpriseDB",
"versions": [
{
"lessThan": "15.20.0",
"status": "affected",
"version": "15.0",
"versionType": "custom"
},
{
"lessThan": "16.16.0",
"status": "affected",
"version": "16.0",
"versionType": "custom"
},
{
"lessThan": "17.12.0",
"status": "affected",
"version": "17.0",
"versionType": "custom"
},
{
"lessThan": "18.7.0",
"status": "affected",
"version": "18.0",
"versionType": "custom"
}
]
}
],
"source": "20be33e2-bf35-4d13-8fad-18bd2f3e3659"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s 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."
}
],
"id": "CVE-2026-87027",
"lastModified": "2026-11-16T19:17:53.840",
"metrics": {
"cvssMetricV40": [
{
"cvssData": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "HIGH",
"attackRequirements": "PRESENT",
"attackVector": "LOCAL",
"availabilityRequirement": "NOT_DEFINED",
"baseScore": 5.6,
"baseSeverity": "MEDIUM",
"confidentialityRequirement": "NOT_DEFINED",
"exploitMaturity": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"privilegesRequired": "HIGH",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"source": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"type": "Secondary"
}
]
},
"published": "2026-11-16T19:17:53.840",
"references": [
{
"source": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"url": "https://www.enterprisedb.com/docs/epas/15/epas_rel_notes/epas15_20_0_rel_notes/"
},
{
"source": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"url": "https://www.enterprisedb.com/docs/epas/16/epas_rel_notes/epas16_16_0_rel_notes/"
},
{
"source": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"url": "https://www.enterprisedb.com/docs/epas/17/epas_rel_notes/epas17_12_rel_notes/"
},
{
"source": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"url": "https://www.enterprisedb.com/docs/epas/18/epas_rel_notes/epas18_7_rel_notes/"
},
{
"source": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"url": "https://www.enterprisedb.com/docs/pge/15/release_notes/rel_notes15.20/"
},
{
"source": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"url": "https://www.enterprisedb.com/docs/pge/16/release_notes/rel_notes16.16/"
},
{
"source": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"url": "https://www.enterprisedb.com/docs/pge/17/release_notes/rel_notes17.12/"
},
{
"source": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"url": "https://www.enterprisedb.com/docs/pge/18/release_notes/rel_notes18.7.0/"
},
{
"source": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"url": "https://www.enterprisedb.com/docs/security/advisories/cve202687027/"
}
],
"sourceIdentifier": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"vulnStatus": "Received",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-331"
},
{
"lang": "en",
"value": "CWE-467"
}
],
"source": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"type": "Secondary"
}
]
}
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…