{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-122042","id":"CVE-2026-122042","title":"EnterpriseDB WarehousePG out-of-bounds write in gpfdist","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 ","descriptionLong":"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.","published":"2026-11-18T14:05:19.263Z","updated":"2026-11-18T14:17:29.320Z","reserved":"2026-11-04T15:28:17.841Z","status":"Received","rejected":false,"assigner":"EDB","metric":{"version":"4.0","score":7.1,"vector":"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","rating":"high","source":"EDB"},"metrics":[{"version":"4.0","score":7.1,"vector":"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","rating":"high","source":"EDB"},{"version":"4.0","score":7.1,"vector":"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","rating":"high","source":"20be33e2-bf35-4d13-8fad-18bd2f3e3659"}],"rating":"high","products":["EnterpriseDB WarehousePG"],"affectedProducts":[{"vendor":"EnterpriseDB","product":"WarehousePG","defaultStatus":"unaffected","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"}],"platforms":[]}],"packages":[],"cwes":["CWE-787","CWE-129"],"aliases":[],"references":[{"url":"https://www.enterprisedb.com/docs/security/advisories/cve2026122042/","tags":[]},{"url":"https://github.com/warehouse-pg/warehouse-pg/pull/370","tags":[]},{"url":"https://github.com/warehouse-pg/warehouse-pg/pull/371","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-122042","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122042","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-122042","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-122042","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}