{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.27.1"
                  },
                  {
                    "last_affected": "6.27.7"
                  }
                ],
                "source": "DESCRIPTION"
              },
              {
                "range": [
                  {
                    "introduced": "7.2.1"
                  },
                  {
                    "last_affected": "7.6.1"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "ab5a612bfdc355ad2d601860dfb70a47778c8dd7"
            },
            {
              "last_affected": "3aff4ce7544682c46ebfb6e422d5a5115bf44e55"
            },
            {
              "introduced": "f9b5481f7328ca0843587311d208be1f0334d155"
            },
            {
              "last_affected": "ad930c66c7a6d709fae8552533bb28646120cdc1"
            }
          ],
          "repo": "https://github.com/warehouse-pg/warehouse-pg",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "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.",
  "id": "CVE-2026-122042",
  "modified": "2026-11-19T20:45:59.665614179Z",
  "published": "2026-11-18T14:17:29.320Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.enterprisedb.com/docs/security/advisories/cve2026122042/"
    },
    {
      "type": "FIX",
      "url": "https://github.com/warehouse-pg/warehouse-pg/pull/370"
    },
    {
      "type": "FIX",
      "url": "https://github.com/warehouse-pg/warehouse-pg/pull/371"
    }
  ],
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ]
}