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 (…
Mitigation
- Upgrade WarehousePG to 7.6.2 or later.
Who should check
- Anyone running EnterpriseDB WarehousePG >= 6.27.1, < 6.27.8; >= 7.2.1, < 7.6.2
Vulnerability facts
- Affected
- EnterpriseDB WarehousePG >= 6.27.1, < 6.27.8; >= 7.2.1, < 7.6.2
- Fixed in
- EnterpriseDB WarehousePG 6.27.8, EnterpriseDB WarehousePG 7.6.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v4.0, CNA)CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.15% chance of exploitation in 30 days (percentile 2, 2026-11-28)
- CWE
- CWE-787, CWE-129
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| EnterpriseDB WarehousePG | >= 6.27.1, < 6.27.8; >= 7.2.1, < 7.6.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-122042. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-122042.md Affected: EnterpriseDB WarehousePG >= 6.27.1, < 6.27.8; >= 7.2.1, < 7.6.2 Fixed in: EnterpriseDB WarehousePG 6.27.8, EnterpriseDB WarehousePG 7.6.2 Steps: 1. Search this machine and project for EnterpriseDB WarehousePG: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-122042 being exploited?
There is no confirmed exploitation: CVE-2026-122042 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-122042?
High: CVSS 7.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-122042?
EnterpriseDB WarehousePG >= 6.27.1, < 6.27.8; >= 7.2.1, < 7.6.2.
Is there a fix for CVE-2026-122042?
Yes. Fixed in EnterpriseDB WarehousePG 6.27.8, EnterpriseDB WarehousePG 7.6.2. Upgrade WarehousePG to 7.6.2 or later.
How do I check if I'm affected by CVE-2026-122042?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More enterprisedb vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 5.3 | CVE-2026-62157 mongo_fdw out-of-bounds read when building an ObjectId from short _id values | EnterpriseDB | EPSS 44% | |
| MEDIUM 6.5 | CVE-2026-62156 hdfs_fdw HiveQL injection through pushed-down IN and = ANY(array) string literals | EnterpriseDB | EPSS 27% | |
| MEDIUM 5.3 | CVE-2026-62155 mongo_fdw connection URI injection through unencoded option values | EnterpriseDB | EPSS 44% | |
| HIGH 7.5 | CVE-2026-62154 mysql_fdw runs SQL supplied by a malicious MySQL server during IMPORT FOREIGN SCHEMA | EnterpriseDB | EPSS 50% | |
| MEDIUM 6.4 | CVE-2026-62153 mysql_fdw SQL injection through ANALYZE, IMPORT FOREIGN SCHEMA and the sql_mode option | EnterpriseDB | EPSS 48% |