CVE-2026-122042 PUBLISHED

Assigner: EDB
Reserved: 04.11.2026 Published: 18.11.2026 Updated: 18.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 7.1

Product Status

Vendor EnterpriseDB
Product WarehousePG
Versions Default: unaffected
  • affected from 6.27.1 to 6.27.8 (excl.)
  • affected from 7.2.1 to 7.6.2 (excl.)

Credits

  • kta1kri finder

References

Problem Types

  • CWE-787 Out-of-bounds Write CWE
  • CWE-129 Improper Validation of Array Index CWE