CVE-2026-122042
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 use…
Impact
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.
An attacker can exploit this from the same local network, without logging in, without any action by a user. If it succeeds: high risk of outages.
Affected products · EnterpriseDB
| Product | Affected versions |
|---|---|
| WarehousePG | from 6.27.1 before 6.27.8 from 7.2.1 before 7.6.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.enterprisedb.com/docs/security/advisories/cve2026122042/
- https://github.com/warehouse-pg/warehouse-pg/pull/370
- https://github.com/warehouse-pg/warehouse-pg/pull/371
- https://github.com/advisories/GHSA-c8c2-c65h-r6cr
- https://nvd.nist.gov/vuln/detail/CVE-2026-122042
- https://www.enterprisedb.com/docs/security/advisories/cve2026122042