Summary
This update for psqlODBC fixes the following issues:
Changes in psqlODBC:
- Update to 18.00.0006:
* Large-object read overflows the application buffer
(CVE-2026-120057, bsc#1289252).
* Row cache overflow when a later FETCH changes the column count
(CVE-2026-120058, bsc#1289253).
* Driver uses a server-supplied column name as a format string
(CVE-2026-120059, bsc#1289254).
* Driver does not validate server-supplied counts and lengths
(CVE-2026-120060, bsc#1289255).
* ODBC escape parser stack buffer overflow
(CVE-2026-120061, bsc#1289256).
* SQL injection through SQLSpecialColumns table and schema names
(CVE-2026-120062, bsc#1289257).
* Stack buffer overflow when quoting long schema and table names
(CVE-2026-120063, bsc#1289258).
* Driver does not validate column numbers and row indexes in
binding and descriptor functions
(CVE-2026-120064, bsc#1289259).
* Driver does not escape a server-supplied column name in its
updatable-cursor queries (CVE-2026-120065, bsc#1289260).
* Log files are created with default permissions at a predictable
path and follow symbolic links
(CVE-2026-120066, bsc#1289261).
* Stack buffer overflow when reading the keyset (ctid/oid)
columns of an updatable cursor
(CVE-2026-120067, bsc#1289262).
* Hardening: SQLSetDescRecW stored a freed buffer and the address
of a local variable as deferred bound data. It now stores the
application's pointers, as SQLSetDescRec does.
* Hardening: SQLColumns returned uninitialized relkind and table
OID values when the table query returned no rows.
* Hardening: convert_linefeeds could dereference a NULL pointer
in one build configuration.
* Hardening: secure_sscanf limits an over-wide %Ns width,
msgtowstr checks for a zero buffer length, and the MSDTC
connect-string append is bounded.
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 16.0 | psqlODBC | 18.00.0006-bp160.1.1 |
Vulnerabilities 11
-
High 7.5
psqlODBC large-object read overflows the application buffer
psqlODBC copies the reply to a large-object read (loread) into the application's buffer using the length sent by the server, without comparing it to the buffer size. A server not trusted under current SSL settings, or a man-in-the-middle, can return more byte…
-
High 7.5
psqlODBC row cache overflow when a later FETCH changes the column count
psqlODBC sizes its row cache from the column count of a cursor's first result, but recomputes the column count from each later FETCH reply without checking that it matches. A server not trusted under current SSL settings can answer a later FETCH with more col…
-
High 7.5
psqlODBC ODBC escape parser stack buffer overflow
The psqlODBC parser for ODBC escape sequences in application SQL text writes the argument offsets of a {fn} escape into a fixed 16-entry stack array without a bound and does not initialize the array. An escape with too many arguments overflows the stack, and …
-
High 7.5
psqlODBC SQL injection through SQLSpecialColumns table and schema names
SQLSpecialColumns in psqlODBC splices the table and schema names it receives into its catalog query without escaping them, while the other catalog functions escape them. An application that passes an untrusted table or schema name to SQLSpecialColumns lets th…
-
High 7.5
psqlODBC does not validate column numbers and row indexes in binding and descriptor functions
Several psqlODBC entry points use an application-supplied column number or row index as an array index without validating it. SQLBindCol with a column number above 32767 wraps the binding count negative and a later copy runs off the array. A negative SQL_DESC…
-
High 7.1
psqlODBC does not escape a server-supplied column name in its updatable-cursor queries
For an updatable cursor over a table without OIDs that has an auto-increment int4 column, psqlODBC uses that column to identify rows. It places the column's name, as reported by the server, between double quotes in its keyset queries and in the WHERE clause o…
-
Medium 6.8
psqlODBC uses a server-supplied column name as a format string
For an updatable cursor over a table without OIDs that has an auto-increment int4 column, psqlODBC places that column's name, as reported by the server, into a printf-style format string. It later expands that string with one argument while it builds the WHER…
-
Medium 5.9
psqlODBC does not validate server-supplied counts and lengths
psqlODBC trusts counts and lengths in server data in three places. SQLBulkOperations uses a server-supplied row count in a size subtraction that can underflow. SQLStatistics iterates index keys using a server-supplied key count without bounding it to the fixe…
-
Medium 5.9
psqlODBC stack buffer overflow when quoting long schema and table names
When psqlODBC quotes a schema or table name into a 128-byte stack buffer, its length check lets it write up to two bytes past the end of the buffer for a long name. The names come from the application's SQL text: the table of a statement the driver parses to …
-
Medium 5.9
psqlODBC stack buffer overflow copying ctid and oid values for updatable cursors
For updatable cursors, which are enabled by default, psqlODBC adds hidden ctid and, for tables with OIDs, oid columns to the query. It copies each value into a 32-byte stack buffer using the length the server sent, without checking it against the buffer size,…
-
Medium 5.3
psqlODBC log files are created with default permissions at a predictable path and follow symbolic links
On Unix-like systems, when logging is enabled, psqlODBC creates its log files in /tmp by default, named from the program name, user name, and process ID, with the default permissions, typically world-readable, and follows symbolic links when opening them. A l…
References
-
report
https://bugzilla.suse.com/1289252
-
report
https://bugzilla.suse.com/1289253
-
report
https://bugzilla.suse.com/1289254
-
report
https://bugzilla.suse.com/1289255
-
report
https://bugzilla.suse.com/1289256
-
report
https://bugzilla.suse.com/1289257
-
report
https://bugzilla.suse.com/1289258
-
report
https://bugzilla.suse.com/1289259
-
report
https://bugzilla.suse.com/1289260
-
report
https://bugzilla.suse.com/1289261
-
report
https://bugzilla.suse.com/1289262
-
web
https://www.suse.com/security/cve/CVE-2026-120057
-
web
https://www.suse.com/security/cve/CVE-2026-120058
-
web
https://www.suse.com/security/cve/CVE-2026-120059
-
web
https://www.suse.com/security/cve/CVE-2026-120060
-
web
https://www.suse.com/security/cve/CVE-2026-120061
-
web
https://www.suse.com/security/cve/CVE-2026-120062
-
web
https://www.suse.com/security/cve/CVE-2026-120063
-
web
https://www.suse.com/security/cve/CVE-2026-120064
-
web
https://www.suse.com/security/cve/CVE-2026-120065
-
web
https://www.suse.com/security/cve/CVE-2026-120066
-
web
https://www.suse.com/security/cve/CVE-2026-120067