CVE-2026-120149
PostgreSQL FDW batch-insert mismatch executes arbitrary code
- Severity
- high CVSS 8.8 (v3.1)
- Affects
- PostgreSQL · n/a
- Weakness
- CWE-122: Heap-based Buffer Overflow
- Published
- 12 November 2026 by PostgreSQL
- First seen on our lists
- 12 November 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- [oss-security] PostgreSQL 18.7, 17.12, 16.16, 15.20, 14.25, and 19 RC 2 Released, fixes 52 security vulnerabilities