CVE-2026-122042
- CVE-2026-122042
- GHSA-c8c2-c65h-r6cr
- EUVD-2026-128866
Description
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.
Text from the CVE.org record.
Recommendation
EnterpriseDB WarehousePG
- If you run a version from 7.2.1 to before 7.6.2update to 7.6.2 or laterMinor version change: check the release notes
- If you run 6.27.xupdate to 6.27.8 or laterPatch update: breaking changes are unlikely
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
EnterpriseDB WarehousePG
Affected versions Fixed in from 7.2.1 to before 7.6.2 7.6.2 from 6.27.1 to before 6.27.8 6.27.8
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.