7.1
HIGH CVSS 4.0
CVE-2026-122042
WarehousePG gpfdist Out-of-Bounds Write Vulnerability
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.

INFO

Published Date :

Nov. 18, 2026, 2:17 p.m.

Last Modified :

Nov. 18, 2026, 2:17 p.m.

Remotely Exploit :

No

Source :

20be33e2-bf35-4d13-8fad-18bd2f3e3659
Affected Products

The following products are affected by CVE-2026-122042 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 HIGH 20be33e2-bf35-4d13-8fad-18bd2f3e3659
CVSS 4.0 HIGH 20be33e2-bf35-4d13-8fad-18bd2f3e3659
Solution
Update WarehousePG to patch the out-of-bounds write vulnerability in gpfdist file server.
  • Update WarehousePG to a fixed version.
  • Restrict access to the gpfdist port.
  • Enable client certificate verification for gpfdists.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-122042.

URL Resource
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/
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-122042 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-122042 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-122042 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-122042 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 20be33e2-bf35-4d13-8fad-18bd2f3e3659

    Nov. 18, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V4.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
    Added CWE CWE-787
    Added CWE CWE-129
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/122xxx/CVE-2026-122042.json">CVE-2026-122042</a>
    Added Reference https://github.com/warehouse-pg/warehouse-pg/pull/370
    Added Reference https://github.com/warehouse-pg/warehouse-pg/pull/371
    Added Reference https://www.enterprisedb.com/docs/security/advisories/cve2026122042/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.