CVE-2026-122042
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.
Weakness
Timeline
- 2026-11-18Published by the CNA14:05 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| enterprisedb warehousepg | from 6.27.1 before 6.27.8fixed in 6.27.8from 7.2.1 before 7.6.2fixed in 7.6.2 | 6.27.87.6.2 |
References
- https://github.com/warehouse-pg/warehouse-pg/pull/370
- https://github.com/warehouse-pg/warehouse-pg/pull/371
- https://www.enterprisedb.com/docs/security/advisories/cve2026122042/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-122042'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-122042'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-122042'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-122042'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).