{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-122042",
        "assignerOrgId": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
        "state": "PUBLISHED",
        "assignerShortName": "EDB",
        "dateReserved": "2026-11-04T15:28:17.841Z",
        "datePublished": "2026-11-18T14:05:19.263Z",
        "dateUpdated": "2026-11-19T16:58:29.327Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
                "shortName": "EDB",
                "dateUpdated": "2026-11-18T14:05:19.263Z"
            },
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-787",
                            "description": "CWE-787 Out-of-bounds Write",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-129",
                            "description": "CWE-129 Improper Validation of Array Index",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "EnterpriseDB",
                    "product": "WarehousePG",
                    "repo": "https://github.com/warehouse-pg/warehouse-pg",
                    "programFiles": [
                        "src/bin/gpfdist/gpfdist.c"
                    ],
                    "versions": [
                        {
                            "version": "6.27.1",
                            "status": "affected",
                            "lessThan": "6.27.8",
                            "versionType": "custom"
                        },
                        {
                            "version": "7.2.1",
                            "status": "affected",
                            "lessThan": "7.6.2",
                            "versionType": "custom"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "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",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "references": [
                {
                    "url": "https://www.enterprisedb.com/docs/security/advisories/cve2026122042/"
                },
                {
                    "url": "https://github.com/warehouse-pg/warehouse-pg/pull/370"
                },
                {
                    "url": "https://github.com/warehouse-pg/warehouse-pg/pull/371"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "kta1kri",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "cvelib 1.8.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-11-19T16:58:19.494752Z",
                                "id": "CVE-2026-122042",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-11-19T16:58:29.327Z"
                }
            }
        ]
    }
}