Skip to content
OpenAdvisories
High ALSA-2026:107424 5 CVEs

Important: postgresql-odbc security update

Published Dec 3, 2026 · Updated Dec 3, 2026

Summary

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.

Fixed packages 2

ReleasePackageFixed in
AlmaLinux · 8 postgresql-odbc 10.03.0000-4.el8_10
AlmaLinux · 8 postgresql-odbc-tests 10.03.0000-4.el8_10

Vulnerabilities 5

  • 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 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…

References

  • report
    https://access.redhat.com/security/cve/CVE-2026-120057
  • report
    https://access.redhat.com/security/cve/CVE-2026-120058
  • report
    https://access.redhat.com/security/cve/CVE-2026-120061
  • report
    https://access.redhat.com/security/cve/CVE-2026-120064
  • report
    https://access.redhat.com/security/cve/CVE-2026-120065
  • report
    https://bugzilla.redhat.com/2565352
  • report
    https://bugzilla.redhat.com/2565355
  • report
    https://bugzilla.redhat.com/2565361
  • report
    https://bugzilla.redhat.com/2565362
  • report
    https://bugzilla.redhat.com/2565364
  • advisory
    https://errata.almalinux.org/8/ALSA-2026-107424.html