PT-2026-159563
CVE-2026-136501
·
Published
2026-11-25
·
Updated
2026-11-25
Description by
CVSS 3.1
7.1
HighMetricsAV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
psqlODBC versions prior to 18.00.0007
Description
psqlODBC incorrectly matches statement names against the catalog when building positioned updates and describing columns. This discrepancy between the driver and the server leads to several issues: table and schema names are compared case-insensitively in the column-information cache; the term ONLY in FROM ONLY statements is misinterpreted as a table name; and column names are compared case-insensitively, which can cause buffer overflows during fetch operations when
Parse=1 is used. Additionally, in single-byte encodings like LATIN1 or SQL ASCII, the driver fails to fold accented letters correctly compared to the server. On non-Windows systems using Turkish or Azeri locales, unquoted I characters are not folded to i, causing mismatches in keywords and ODBC function names. The SQLSpecialColumns() and SQLPrimaryKeys() functions may report incorrect columns or indexes when schema names are missing. Furthermore, positioned writes may target the wrong schema after a search path change. Finally, the SQLBulkOperations() function trusts the ctid within a variable-length bookmark and ignores the WHERE clause, allowing a forged bookmark to read, update, or delete any row in the cursor's table. A malicious user capable of creating a table in a schema on another user's search path can redirect positioned updates, inserts, and deletes to a chosen table, executing them with the victim's rights or running expressions under the victim's role.Recommendations
Update psqlODBC to a version newer than 18.00.0006.
Found an issue in the description? Have something to add? Feel free to write us 👾