psqlODBC assumed that a table it reads keeps the definition it had when the statement was described or parsed. A database user who owns a table or view another user's application reads can crash that application, with an honest server and default options, in these cases:
- Columns dropped or added in another session while the application updates rows through an updatable cursor, or describes the columns with Parse=1.
- A view whose ctid is NULL, read through an updatable cursor, which writes past the row cache, and a view with a volatile filter scrolled backward with UseDeclareFetch=1.
- Rows added through an updatable cursor to a table with child tables or partitions.
- A column whose type is named lo, written with data-at-execution parameters.
- A DROP TABLE or ALTER TABLE on the connection while another statement still uses the table's column information.
- NULL key columns in rows the driver re-reads for an updatable cursor.
- A function called with more output parameters than its result has columns.
- SQLTables() and SQLTablesW() dereferenced NULL when called with empty strings for the catalog, schema and table names together with a NULL TableType, which kills the process that loaded the driver and every session it serves.
The demonstrated results are crashes; one case writes past a heap buffer, but code execution has not been demonstrated.
Versions up to and including psqlODBC 18.00.0006 are affected.
- Columns dropped or added in another session while the application updates rows through an updatable cursor, or describes the columns with Parse=1.
- A view whose ctid is NULL, read through an updatable cursor, which writes past the row cache, and a view with a volatile filter scrolled backward with UseDeclareFetch=1.
- Rows added through an updatable cursor to a table with child tables or partitions.
- A column whose type is named lo, written with data-at-execution parameters.
- A DROP TABLE or ALTER TABLE on the connection while another statement still uses the table's column information.
- NULL key columns in rows the driver re-reads for an updatable cursor.
- A function called with more output parameters than its result has columns.
- SQLTables() and SQLTablesW() dereferenced NULL when called with empty strings for the catalog, schema and table names together with a NULL TableType, which kills the process that loaded the driver and every session it serves.
The demonstrated results are crashes; one case writes past a heap buffer, but code execution has not been demonstrated.
Versions up to and including psqlODBC 18.00.0006 are affected.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Thu, 26 Nov 2026 01:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Postgresql
Postgresql psqlodbc |
|
| Vendors & Products |
Postgresql
Postgresql psqlodbc |
Wed, 25 Nov 2026 22:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | psqlODBC assumed that a table it reads keeps the definition it had when the statement was described or parsed. A database user who owns a table or view another user's application reads can crash that application, with an honest server and default options, in these cases: - Columns dropped or added in another session while the application updates rows through an updatable cursor, or describes the columns with Parse=1. - A view whose ctid is NULL, read through an updatable cursor, which writes past the row cache, and a view with a volatile filter scrolled backward with UseDeclareFetch=1. - Rows added through an updatable cursor to a table with child tables or partitions. - A column whose type is named lo, written with data-at-execution parameters. - A DROP TABLE or ALTER TABLE on the connection while another statement still uses the table's column information. - NULL key columns in rows the driver re-reads for an updatable cursor. - A function called with more output parameters than its result has columns. - SQLTables() and SQLTablesW() dereferenced NULL when called with empty strings for the catalog, schema and table names together with a NULL TableType, which kills the process that loaded the driver and every session it serves. The demonstrated results are crashes; one case writes past a heap buffer, but code execution has not been demonstrated. Versions up to and including psqlODBC 18.00.0006 are affected. | |
| Title | Another database user can crash applications by changing a table they own | |
| Weaknesses | CWE-125 CWE-416 CWE-476 CWE-787 |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: PostgreSQL
Published:
Updated: 2026-11-25T22:25:53.531Z
Reserved: 2026-11-24T20:17:10.905Z
Link: CVE-2026-136514
No data.
Status : Received
Published: 2026-11-25T23:17:24.760
Modified: 2026-11-25T23:17:24.760
Link: CVE-2026-136514
No data.
OpenCVE Enrichment
Updated: 2026-11-26T00:45:02Z