Skip to content
RedCVE

CVE-2026-122042EnterpriseDB WarehousePG improper array index validation

EnterpriseDBPublished:

CVSS score

7.1

High

CVSS 4.0 from 20be33e2-bf35-4d13-8fad-18bd2f3e3659

Exploit probability (EPSS)

0.11%

0.11% chance of exploitation in the next 30 days, higher than 1.17% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

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

Source: NVD · CNA: 20be33e2-bf35-4d13-8fad-18bd2f3e3659

How to fix it, step by step

  1. Check whether you're affected

    Find every system running EnterpriseDB WarehousePG and compare its version with the affected versions.

  2. Update to a fixed version

    • Update WarehousePG to 6.27.8, 7.6.2 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Adjacent
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected products

Affected productsVersions
EnterpriseDB WarehousePG≥ 6.27.1, < 6.27.8 · ≥ 7.2.1, < 7.6.2

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-122042 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-122042?

CVE-2026-122042 has a CVSS 4.0 base score of 7.1 (high).

Which versions are affected?

Enterprisedb WarehousePG (≥ 6.27.1, < 6.27.8; ≥ 7.2.1, < 7.6.2)

Is there a patch for CVE-2026-122042?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.