postgresql-odbc-10.03.0000-4.el8_10

エラータID: AXSA:2026-2462:01

Release date: 
Friday, December 4, 2026 - 22:27
Subject: 
postgresql-odbc-10.03.0000-4.el8_10
Affected Channels: 
Asianux Server 8 for x86_64
Severity: 
High
Description: 

This package includes the driver needed for applications to access a PostgreSQL system via ODBC (Open Database Connectivity).

Security Fix(es):

* postgresql-odbc: postgresql-odbc: SQL injection via unescaped column names in updatable cursors (CVE-2026-120065)
* postgresql-odbc: postgresql-odbc: arbitrary code execution via buffer overflow in large-object read (CVE-2026-120057)
* postgresql-odbc: postgresql-odbc: Memory corruption via malformed SQL escape sequences (CVE-2026-120061)
* psqlodbc: psqlodbc: Arbitrary code execution via unvalidated column and row indexes (CVE-2026-120064)
* postgresql-odbc: postgresql-odbc: Arbitrary code execution via heap buffer overflow during cursor fetch (CVE-2026-120058)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

CVE-2026-120057
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 bytes than the buffer holds and overwrite adjacent memory in the client process with server-chosen bytes. Fetching any large-object column is sufficient to trigger it. Versions before psqlODBC 18.00.0006 are affected.
CVE-2026-120058
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 columns and make the driver write tuple records past the end of the heap allocation. A keyset reply with fewer columns than the key fields also underflows the unsigned field count. This is reachable with UseDeclareFetch enabled. Versions before psqlODBC 18.00.0006 are affected.
CVE-2026-120061
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 a reference to an unsupplied argument copies arbitrary bytes into the query. The copy of a {d}, {t}, {ts}, or {escape} body also writes one byte past a 128-byte stack buffer. An application that forwards untrusted SQL text to the driver exposes its process to memory corruption. Versions before psqlODBC 18.00.0006 are affected.
CVE-2026-120064
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_COUNT on an application row descriptor unbinds columns at negative indexes. SQLColAttribute with a very large column number uses a negative index. SQLSetPos(SQL_ADD) does not check the row number against the rowset size. An application that forwards untrusted column or row numbers exposes its process to out-of-bounds reads and writes. Versions before psqlODBC 18.00.0006 are affected.
CVE-2026-120065
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 of its positioned SELECT, UPDATE, and DELETE statements, without doubling any double quote in the name. A column name that contains a double quote therefore changes the SQL that the driver runs with the application's privileges, including which rows a positioned UPDATE or DELETE affects. Any database user who can create a table that the application reads with an updatable cursor can choose such a name, and so can a server not trusted under current SSL settings. Versions before psqlODBC 18.00.0006 are affected.

Solution: 

Update packages.

Additional Info: 

N/A

Download: 

SRPMS
  1. postgresql-odbc-10.03.0000-4.el8_10.src.rpm
    MD5: ec315d376dec79f327f5434dcfede102
    SHA-256: e6d5aa1a1cea115518ae9f74430d4e99692522ecd2eb6accee706431183a77e2
    Size: 923.44 kB

Asianux Server 8 for x86_64
  1. postgresql-odbc-10.03.0000-4.el8_10.x86_64.rpm
    MD5: ec21fbdc1ebc8d7befd6086b7ad95995
    SHA-256: 84df7f961d12506b43e0b1f98eb8868e34453d23d33e9114ca6564b25ba9d469
    Size: 428.57 kB
  2. postgresql-odbc-tests-10.03.0000-4.el8_10.x86_64.rpm
    MD5: 8e56eb6cc462c71a75f4f1c144b35863
    SHA-256: 1f2dcf52e73a81ec65f1527949fd10835c0d51a847f717d7292a881e22e6709b
    Size: 102.82 kB