Original description
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.
Affected software
- PostgreSQL ≥ 18 < 18.7≥ 15 < 15.20≥ 16 < 16.16< 14.25≥ 17 < 17.12 Fixed in: 18.7, 15.20, 16.16, 14.25 model-confirmed match
Details
- Published
- 2026-11-12
- Last modified
- 2026-11-14
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-122
- EPSS (30-day exploit probability)
- 0.60% (percentile 49)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.