# 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,…

- Severity: High 7.1 (CVSS:4.0, scored by EDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-11-18T14:05:19.263Z
- Modified: 2026-11-23T16:24:48.897Z
- Weaknesses: CWE-129, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EDB

## 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.

(As written by CVE List.)

## Affected

- EnterpriseDB WarehousePG: from 6.27.1 before 6.27.8; from 7.2.1 before 7.6.2

## References

- <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>

## Sources

- CVE List: [CVE-2026-122042](https://www.cve.org/CVERecord?id=CVE-2026-122042), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-122042](https://nvd.nist.gov/vuln/detail/CVE-2026-122042), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-122042 · Whole record: https://cve.day/CVE-2026-122042.json · Rebuilt by cve.day 2026-11-25T22:59:51.831Z
