{"id":"CVE-2026-120149","published":"2026-11-12T14:15:26Z","modified":"2026-11-14T04:57:44Z","title":"PostgreSQL FDW batch-insert mismatch executes arbitrary code","vendor":null,"product":null,"tier":"tail","description":{"text":"Heap-based buffer overflow in PostgreSQL foreign batch inserts allows a foreign server to execute arbitrary code, via reporting that it inserted more rows than the server supplied.  postgres_fdw can legitimately encounter this when a rule on the remote table expands an INSERT into additional rows.  Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00578,"percentile":0.48501,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-120149/","tags":[]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":9.7},{"name":"CVSS severity","points":6.16}]},"affectedVersions":[{"vendor":"n/a","product":"PostgreSQL","versions":[">= 18, < 18.7",">= 17, < 17.12",">= 16, < 16.16",">= 15, < 15.20","< 14.25"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-13T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-124423","exploited":false,"provenance":"source"}}