Out-of-bounds write in WarehousePG gpfdist file server allows crash
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-129 and the CVSS impact.
Summary
WarehousePG (WHPG) from 6.27.1 before 6.27.8 and from 7.2.1 before 7.6.2 has an out-of-bounds write in gpfdist, the file server used to load and unload external tables. gpfdist sizes two internal arrays from the client-supplied X-GP-SEGMENT-COUNT header and writes to them at the index from the X-GP-SEGMENT-ID header without checking that the index is valid (CWE-129). Because gpfdist does not authenticate callers unless client certificate verification is used, an attacker who can reach the gpfdist port can crash it with a single HTTP request, failing every external table load or unload on that instance.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
Description from the CNA
WarehousePG (WHPG) 6.27.1 through 6.27.7 and 7.2.1 through 7.6.1 are affected by an out-of-bounds write vulnerability (CWE-787) in gpfdist, the file server used to load and unload external tables. When gpfdist attaches a request to a session, it sizes two internal arrays from the client-supplied X-GP-SEGMENT-COUNT header and writes to them at the index given by the X-GP-SEGMENT-ID header, without checking that the index is non-negative and smaller than the count (CWE-129). gpfdist does not authenticate callers unless gpfdists is used with client certificate verification, so an attacker who can reach the gpfdist port can crash it with a single HTTP request, failing every external table load or unload that uses that gpfdist instance. gpfdist is normally reachable only from the cluster's internal network.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| EnterpriseDB | WarehousePG | 6.27.1 to before 6.27.8; 7.2.1 to before 7.6.2 | 6.27.8, 7.6.2 | Patch available | CNA |
- WarehousePG VendorEnterpriseDB Affected 6.27.1 to before 6.27.8; 7.2.1 to before 7.6.2 Fixed in 6.27.8, 7.6.2 Patch available CNA
Remediation
Upgrade WarehousePG to 6.27.8 or 7.6.2, matching the release line you run. The sources do not list a vendor advisory for this fix. Keep the gpfdist port reachable only from the cluster's internal network, as gpfdist is normally deployed.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
- Fix · CNA WarehousePG (EnterpriseDB) Fixed in 6.27.8, 7.6.2
Timeline
- 2026-11-18 Threatist record created from CVE-2026-122042
- 2026-11-18 Alias added: GHSA-c8c2-c65h-r6cr
- 2026-11-19 CISA SSVC decision points changed
References
More EnterpriseDB vulnerabilities
- TI-2023-21738 An issue was discovered in EnterpriseDB Postgres Advanced Server (EPAS) before 11.21.32… CVSS 3.1CRITICAL 9.8
- TI-2026-95912 Untrusted search path in Postgres Enterprise Manager allows superuser SQL CVSS 4.0CRITICAL 9.4
- TI-2026-95911 Postgres Enterprise Manager agents can change other agents' jobs CVSS 4.0CRITICAL 9.4
- TI-2026-95910 PEM agent role grants file read and write on the PEM server host CVSS 4.0CRITICAL 9.4
- TI-2023-21739 An issue was discovered in EnterpriseDB Postgres Advanced Server (EPAS) before 11.21.32… CVSS 3.1HIGH 8.8
- TI-2026-37400 When applying replicated changes for a row that is missing one or more columns, pglogical… CVSS 4.0CRITICAL 9.0
Sources
- CVE-2026-122042 · CVE Program
- CVE-2026-122042 · NVD
- FIRST EPSS
- GHSA-c8c2-c65h-r6cr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences