Heap-based buffer overflow in PostgreSQL foreign batch inserts allows a foreign server to execute arbitrary code, via reporting that it inserted more...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSpostgresql-9.3 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSpostgresql-9.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSpostgresql-10 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSpostgresql-12 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSpostgresql-14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSpostgresql-16 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10postgresql-18 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSpostgresql-18 |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report postgresql.org
- report postgresql.org