Skip to main content

WarehousePG CVE-2026-122042

| EUVDEUVD-2026-128866 HIGH
Improper Validation of Array Index (CWE-129)
2026-11-18 20be33e2-bf35-4d13-8fad-18bd2f3e3659 GHSA-c8c2-c65h-r6cr
7.1
CVSS 4.0 · Vendor: 20be33e2-bf35-4d13-8fad-18bd2f3e3659
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach gpfdist port on internal network
  2. Exploit
    Send HTTP request with out-of-range X-GP-SEGMENT-ID/COUNT headers
  3. Execution
    Index write past per-segment arrays (OOB write)
  4. Impact
    gpfdist crashes, all external-table loads/unloads fail

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

The attacker must be able to reach the gpfdist TCP port, which per the description is normally exposed only on the cluster's internal network - so network segmentation is the primary limiting factor. gpfdist does not authenticate callers, so no credentials are needed, UNLESS the deployment uses gpfdists with client-certificate verification, in which case a valid client certificate is required and this limits exploitation. The concrete trigger is a single HTTP request to gpfdist supplying an X-GP-SEGMENT-ID header that is negative or >= the X-GP-SEGMENT-COUNT header value; no particular external-table operation or prior session is required. Affected deployments are WarehousePG 6.27.1-6.27.7 and 7.2.1-7.6.1.

Impact

This is an availability-only denial-of-service flaw (CVSS 4.0 base 7.1), not a confidentiality/integrity issue: the vendor CVSS vector sets VC:N/VI:N and only VA:H, and the description plus the fix diff both describe the outcome as crashing gpfdist with a single HTTP request, failing every external-table load/unload on that instance - no code execution or data disclosure is claimed despite the out-of-bounds-write (CWE-787/CWE-129) class. The vector is AV:A (adjacent), consistent with the statement that gpfdist is 'normally reachable only from the cluster's internal network,' so an attacker must already have a foothold on that network segment; this is a meaningful limiter not captured by a bare severity number. PR:N is justified because gpfdist does not authenticate callers unless gpfdists with client-certificate verification is configured. No KEV listing is present and no EPSS score was supplied, so exploitation-probability signals are absent; the vuln.today decision label is 'this_week,' indicating prompt but non-emergency remediation. Net: a real, easy-to-trigger DoS against internal data-warehouse infrastructure, but scope is bounded by network reachability and impact is limited to availability - prioritize patching on the this_week cadence rather than as an emergency, and verify whether any gpfdist instances are exposed beyond the internal network.

Exploit ScenarioDerived

An attacker with access to the cluster's internal network (or to an exposed gpfdist port) sends a single crafted HTTP request carrying an X-GP-SEGMENT-ID that is negative or greater than or equal to the X-GP-SEGMENT-COUNT it also supplies. gpfdist sizes its per-segment arrays from the count and writes at the attacker-chosen index without bounds checking, triggering an out-of-bounds write that crashes the server and breaks all external-table loads and unloads served by that instance. The fix PR ships a curl-based regression test demonstrating the exact malicious headers, so the trigger is publicly documented.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Denial of service in WarehousePG's gpfdist file server (6.27.1 through 6.27.7 and 7.2.1 through 7.6.1) lets a remote attacker crash the service with a single HTTP request: gpfdist sizes its per-segment arrays from the client-supplied X-GP-SEGMENT-COUNT header and then writes at the index given by X-GP-SEGMENT-ID without validating that the index is non-negative and within the count, producing an out-of-bounds write (CWE-787 driven by CWE-129). gpfdist does not authenticate callers unless gpfdists with client-certificate verification is deployed, so anyone who can reach the gpfdist port - normally only the cluster's internal network - can terminate the process and fail every external-table load or unload using that instance. Impact is availability-only (CVSS 4.0 base 7.1, VA:H with VC:N/VI:N); no confidentiality or integrity loss is claimed, no public exploit code was identified at time of analysis, and upstream fixes exist as pull requests rather than a confirmed tagged release.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the changes in https://github.com/warehouse-pg/warehouse-pg/pull/370 and https://github.com/warehouse-pg/warehouse-pg/pull/371, which add the GPFDIST_MAX_SEGMENTS (32767) ceiling, reject non-positive or oversized segment counts and negative or out-of-range segment ids with HTTP 400, bound a joining request's segid by the session's maxsegs, and default the segment headers to 1/0 for plain downloads; track the vendor advisory at https://www.enterprisedb.com/docs/security/advisories/cve2026122042/ for the exact patched WarehousePG release on the 6.27.x and 7.x branches, and upgrade as soon as it is published, since this aligns with the this_week priority decision. Until then, restrict reachability of every gpfdist port to the cluster's internal segment hosts (firewall or security-group rules allowing only the segment subnet), which removes the attack path but breaks any legitimate external client currently loading or unloading tables across network boundaries. If gpfdist must cross a trust boundary, run it with gpfdists and require client-certificate verification, which forces a valid certificate for the request but adds certificate lifecycle management and TLS overhead. Because the failure mode is a crash, monitor gpfdist process liveness so that a single malicious request can be detected and the service restarted, and note that restarting only restores availability - it does not close the vulnerability.

Affected VersionsENISA

WarehousePG 7.2.1 <7.6.2
WarehousePG 6.27.1 <6.27.8

Affected Packages

euvd warehousepg fix: 6.27.8, 7.6.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is an improper-validation-of-array-index bug (CWE-129) that manifests as an out-of-bounds write (CWE-787) in src/bin/gpfdist/gpfdist.c, the C file server WarehousePG uses for external-table load and unload. In session_attach(), the X-GP-SEGMENT-COUNT request header controls the size of two per-segment arrays (active_segids and seq_segs, with maxsegs stored on the session), and the X-GP-SEGMENT-ID header is used directly as the write index, with no check that the id is non-negative or less than the count. Two distinct paths exist: the creating request can declare a count that does not match the id it supplies, and a later request joining an existing session can present an id larger than the session's maxsegs, so the second bound must also be enforced. The upstream patch adds a GPFDIST_MAX_SEGMENTS ceiling of 32767 (segment content ids are stored as int16 in gp_segment_configuration, so no cluster exceeds that), rejects totalsegs <= 0, totalsegs > GPFDIST_MAX_SEGMENTS, segid < 0 and segid >= totalsegs before allocation, re-checks segid against session->maxsegs, and defaults totalsegs=1/segid=0 so plain downloads that send only X-GP-PROTO and omit the segment headers are still served. A new installcheck regression test (test_segment_headers.sh) exercises count=1/id=2000000000, count=4/id=-1, count=0 and count=2000000000 for HTTP 400 and confirms the server keeps serving afterwards. The header values are the only trigger described in the available sources; no authentication is required (PR:N) and the attacker needs no external-table operation and no prior session.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (20be33e2-bf35-4d13-8fad-18bd2f3e3659) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

Adjacent (AV:A) because gpfdist is internal-network only; PR:N since it does not authenticate by default; impact is a crash, so A:H with C:N/I:N and no scope change.

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (20be33e2-bf35-4d13-8fad-18bd2f3e3659).

CVSS VectorVendor: 20be33e2-bf35-4d13-8fad-18bd2f3e3659

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 15:02 EUVD
CVE Published
Nov 18, 2026 - 14:17 cve.org
HIGH 7.1

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A high-severity denial-of-service vulnerability in WarehousePG's gpfdist file server affects versions 6.27.1-6.27.7 and 7.2.1-7.6.1, allowing a remote attacker to crash the service with a single HTTP request and disrupt all external-table loads and unloads. Leadership should care because this availability-only flaw can halt critical data integration workflows, impacting business operations and data-driven processes.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access to gpfdist ports to only trusted internal hosts, deploying gpfdists with client-certificate verification to enforce authentication, and monitoring for anomalous HTTP requests with unusual X-GP-SEGMENT-* headers.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
niche MPP data-warehouse fork of Greenplum, limited enterprise footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy