CVE-2026-122042: Out-of-bounds Read
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.
Affected Software
Event History
Frequently Asked Questions
Which systems are most likely exposed to this issue?
Systems are exposed when their gpfdist service is reachable by an attacker. gpfdist is normally reachable only from the WarehousePG cluster’s internal network, so network access to that internal service is the primary exposure condition.
Does an attacker need credentials or a valid WarehousePG account?
No. gpfdist does not authenticate callers unless it is configured to use client certificate verification with gpfdists, and exploitation requires only the ability to send an HTTP request to the gpfdist port.
What is the practical impact of a successful attack?
A single HTTP request can crash the targeted gpfdist instance. This causes every external-table load or unload operation using that instance to fail.
Is the default gpfdist configuration protected by authentication?
No. Authentication is not enabled unless gpfdists is used with client certificate verification.